Qt5Core package name?

If none of the more specific forums is the right place to ask

Qt5Core package name?

Postby ChameleonScales » 2020-06-10 14:20

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
ChameleonScales
 
Posts: 34
Joined: 2019-05-14 07:09

Re: Qt5Core package name?

Postby LE_746F6D617A7A69 » 2020-06-10 15:35

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/master/avahi-qt/qt-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
LE_746F6D617A7A69
 
Posts: 387
Joined: 2020-05-03 14:16

Re: Qt5Core package name?

Postby stevepusser » 2020-06-11 02:44

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
User avatar
stevepusser
 
Posts: 12061
Joined: 2009-10-06 05:53

Re: Qt5Core package name?

Postby LE_746F6D617A7A69 » 2020-06-11 11:47

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
LE_746F6D617A7A69
 
Posts: 387
Joined: 2020-05-03 14:16

Re: Qt5Core package name?

Postby sunrat » 2020-06-11 13:04

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!
User avatar
sunrat
 
Posts: 3230
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Qt5Core package name?

Postby LE_746F6D617A7A69 » 2020-06-11 14:01

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
LE_746F6D617A7A69
 
Posts: 387
Joined: 2020-05-03 14:16


Return to General Questions

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable