-
Notifications
You must be signed in to change notification settings - Fork 6
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
Compilation error with qt5 #35
Comments
That should be fine. |
There is dir with private headers: Including necessary header. i.e.: "" is path relative including file, not in -I and other system dirs |
So what exactly is the compile error. Quoted from cplusplus.com
|
Hm, tried for self. Error doesn't disappear. |
You can paste the error output of the compiler, this should help narrowing down the problem. Also, if you think there is any problem with include path running If you have changed compile options or have compiled with different Qt5 versions, remove CMakeCache.txt and compile again may help. |
[ 92%] Building CXX object qt5/style/CMakeFiles/qtcurve-qt5.dir/argbhelper.cpp.o |
Ha, already found. It includes /usr/include/qt5/QtWidgets, but there are more two dirs to dive to :) (5.2.0/QtWidgets). |
It should be taken care of by this. You should first try removing |
It is empty. I guessed misprinting, since most other DIR variables are ending with "_DIR", not "_DIRS", but without S at the end result is same. I found such variable mentioned only in one place in web: http://qt-project.org/forums/viewthread/23190 |
Tried manually clone and build only with qt5. Same. The only way, i found for self is to set this variable in pointed CMakeList.txt, filling with two path, where second is for QtCore ptivate include dir. Did not install yet. Using qt 5.2.0 Hm, found mentioned in Qt5WidgetsConfig.cmake. |
I looked better to cmake output, trying to configure only with qt5 and only with qt4. All options are |
https://bugs.archlinux.org/task/36988 |
.... None of them are related..... |
I'm using Qt5.2.0rc1 (haven't updated yet because of network problems) and it compiles fine. I also checked the cmake module of 5.2.0 and rc1 and they looks the same. |
I'm still not sure what's the problem and I need to leave now. |
Looks like not qtcurve bug. In foreach block, finding each package and doing some inits, *_INCLUDE_DIRS are filled, but *_PRIVATE_INCLUDE_DIRS are empty. |
Same issue here, I am also a Gentoo user. Probably Gentoo is doing something wrong with its Qt5 install. |
I think it is intended that those paths look like this. I also reported this issue in the gentoo bug tracker: |
qt5/style/qrgbhelper.cpp has line:
include "private/qwidget_p.h". Should it be in <> instead of ""?
The text was updated successfully, but these errors were encountered: