Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Qt5Core package name?

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
ChameleonScales
Posts: 40
Joined: 2019-05-14 07:09

Qt5Core package name?

#1 Post by ChameleonScales »

Hi,
Trying to build avahi-python from source, when I run autogen.sh, I get a No package 'Qt5Core' found
There is no package with that name in the official Buster repositories. I have libqt5core5a installed but that doesn't do it.
Any idea what I should install?

Debian version : 10.4

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: Qt5Core package name?

#2 Post by LE_746F6D617A7A69 »

You need the qtbase5-dev package, which will also install many other packages as dependencies.
Other qt5-dev package may also be needed -> in such case You'll get an error during execution of 'configure' script

How to find which 'dev' packages are needed:
Check the 'avahi-qt' directory:
https://github.com/lathiat/avahi/blob/m ... -watch.cpp

...there You can find headers included from QT:

Code: Select all

#if defined(QT5) || defined(QT4)
#include <QSocketNotifier>
#include <QObject>
#include <QTimer>
#else
Use apt-file to search for packages which are containing those headers, f.e.

Code: Select all

$>apt-file search QSocketNotifier
libqt4-dev: /usr/include/qt4/QtCore/QSocketNotifier
qtbase5-dev: /usr/include/x86_64-linux-gnu/qt5/QtCore/QSocketNotifier
So, as You can see this is quite simple ;)
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Qt5Core package name?

#3 Post by stevepusser »

Simple, from someone that uses the simple username "LE_746F6D617A7A69"? :)

Yeah, qtbase5-dev covers the core headers. If the source contain translation source files (.ts), which most do, you'll also need qttools5-dev-tools for the lrelease tool to convert them to binaries.
MX Linux packager and developer

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: Qt5Core package name?

#4 Post by LE_746F6D617A7A69 »

stevepusser wrote:Simple, from someone that uses the simple username "LE_746F6D617A7A69"? :)
...yeah, I have to copy-paste it when I want to log-in :mrgreen:
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Qt5Core package name?

#5 Post by sunrat »

LE_746F6D617A7A69 wrote:
stevepusser wrote:Simple, from someone that uses the simple username "LE_746F6D617A7A69"? :)
...yeah, I have to copy-paste it when I want to log-in :mrgreen:
What's a tomazzi?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

LE_746F6D617A7A69
Posts: 932
Joined: 2020-05-03 14:16
Has thanked: 7 times
Been thanked: 65 times

Re: Qt5Core package name?

#6 Post by LE_746F6D617A7A69 »

That's my nickname, which I'm using for over 20 years ;)
Bill Gates: "(...) In my case, I went to the garbage cans at the Computer Science Center and I fished out listings of their operating system."
The_full_story and Nothing_have_changed

Post Reply