Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt components are looked up in a wrong way #123

Open
yurivict opened this issue Nov 8, 2022 · 0 comments
Open

Qt components are looked up in a wrong way #123

yurivict opened this issue Nov 8, 2022 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Nov 8, 2022

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?

@yurivict yurivict changed the title Qt components are loked up in a wrong way Qt components are looked up in a wrong way Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant