MTG / gaia

C++ library to apply similarity measures and classifications on the results of audio analysis, including Python bindings. Together with Essentia it can be used to compute high-level descriptions of music.
http://essentia.upf.edu
GNU Affero General Public License v3.0
272 stars 66 forks source link

Qt components are looked up in a wrong way #123

Open yurivict opened 2 years ago

yurivict commented 2 years ago

For example, configure fails to find Qt5QuickParticles:

Checking for 'Qt5QuickParticles'
['/usr/local/bin/pkg-config', '--cflags', '--libs', 'Qt5QuickParticles']
err: Package Qt5QuickParticles was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5QuickParticles.pc'
to the PKG_CONFIG_PATH environment variable
Package 'Qt5QuickParticles', required by 'virtual:world', not found

In reality Qt5QuickParticles is installed by the package qt5-declarative which installs the following *.pc files:

$ pkg info -l qt5-declarative | grep pc
    /usr/local/include/qt5/QtQuick/5.15.5/QtQuick/private/qquickpixmapcache_p.h
    /usr/local/libdata/pkgconfig/Qt5Qml.pc
    /usr/local/libdata/pkgconfig/Qt5QmlModels.pc
    /usr/local/libdata/pkgconfig/Qt5QmlWorkerScript.pc
    /usr/local/libdata/pkgconfig/Qt5Quick.pc
    /usr/local/libdata/pkgconfig/Qt5QuickWidgets.pc

You need to run pkg-config --cflags --libs Qt5Quick instead.

Same problem with Qt5MultimediaWidgets, Qt5SerialPort, Qt5QmlWorkerScript.

Also, are you really using all these classes?