-
Notifications
You must be signed in to change notification settings - Fork 321
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
Package QtWidgets was not found in the pkg-config search path. #125
Comments
Since qt changed their naming to include the version, one fix is to cd into your pkgconfig directory (maybe /usr/lib/x86_64-linux-gnu/pkgconfig) make sure the file Qt5Widgets is there, then run: |
This issue happened to me as well, and I followed @adnphllps instructions, since it didn't work for any Qt related file before. |
@dsvilarkovic Your approach worked well for me thanks. |
Hello.
I follow the documentation for compiling. Just didn't do the Collada thing. http://mitsuba-renderer.org/docs.html.
Instead of installing
libpng12-dev
I installedlibpng-dev
, and instead oflibpcrecpp0
I installedlibpcrecpp0v5
. I haven't modified my local repo.After running
scons
,here's the error message I have :It seems issue #32 is similar, but has apparently been fixed by #38.
From another project, I know that QtWidgets is located here :
/usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets
so I added this line to my .bashrc :export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets
But the error persists. I'm not quite sure what else to do. I have had many problems with Qt before... Any help would be appreciated!
The text was updated successfully, but these errors were encountered: