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

go-ui for QT5.0.1 #12

Open
ablegao opened this issue Mar 21, 2013 · 3 comments
Open

go-ui for QT5.0.1 #12

ablegao opened this issue Mar 21, 2013 · 3 comments

Comments

@ablegao
Copy link

ablegao commented Mar 21, 2013

i'm make the qtdrv for QT5.0.1 。

make
clang++ -c -pipe -mmacosx-version-min=10.6 -O2 -Wall -W -fPIC -DQTDRV_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../../../../Qt5/5.0.1/clang_64/mkspecs/macx-clang -I. -I../../../../../../../Qt5/5.0.1/clang_64/include -I../../../../../../../Qt5/5.0.1/clang_64/include/QtGui -I../../../../../../../Qt5/5.0.1/clang_64/lib/QtGui.framework/Versions/5/Headers -I../../../../../../../Qt5/5.0.1/clang_64/include/QtCore -I../../../../../../../Qt5/5.0.1/clang_64/lib/QtCore.framework/Versions/5/Headers -I. -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -o cdrv.o cdrv.cpp
In file included from cdrv.cpp:15:
In file included from ./cdrv.h:15:
./qtsignal.h:19:10: fatal error: 'QAction' file not found

include

     ^

1 error generated.

@corvinusz
Copy link

The stuff didn't ported to qt5.
I have added qt5-includes and -libs, but found many other problems after

@asmundstavdahl
Copy link

Just to maybe save someone else's time and headache, to compile qtdrv when you have installed Qt5, run this before qmake:

export QT_SELECT=4

EDIT: I still hit a wall later in the installation process though, but I think that belongs in another issue.

@vanloswang
Copy link

put the code below in qtdrv.pro:
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
it will fix this problem.

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

4 participants