Open lthiet opened 4 years ago
Since qt changed their naming to include the version, one fix is to cd into your pkgconfig directory (maybe _/usr/lib/x8664-linux-gnu/pkgconfig) make sure the file Qt5Widgets is there, then run: sudo ln -s ./Qt5Widgets.pc ./QtWidgets.pc
This issue happened to me as well, and I followed @adnphllps instructions, since it didn't work for any Qt related file before.
Thing I did was: find pkg-config using find / -type d -name "pkgconfig" 2>/dev/null
, and looked for the most relevant path with Qt inside and then I entered in my case cd /usr/lib/x86_64-linux-gnu/pkgconfig
. From there I listed using ls Qt*
and got:
Qt5Concurrent.pc Qt5Core.pc Qt5DBus.pc Qt5Gui.pc Qt5Network.pc Qt5OpenGLExtensions.pc Qt5OpenGL.pc Qt5PrintSupport.pc Qt5Sql.pc Qt5Test.pc Qt5Widgets.pc Qt5XmlPatterns.pc Qt5Xml.pc
As you can see, everything now is named as Qtsudo ln -s ./Qt5Core.pc ./QtCore.pc
for every single file_name there, and finally resolved my issue.
@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!