go-ui icon indicating copy to clipboard operation
go-ui copied to clipboard

go-ui for QT5.0.1

Open ablegao opened this issue 11 years ago • 3 comments

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 <QAction>

     ^

1 error generated.

ablegao avatar Mar 21 '13 05:03 ablegao

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

corvinusz avatar May 04 '13 01:05 corvinusz

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.

asmundstavdahl avatar Mar 12 '14 10:03 asmundstavdahl

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

vanloswang avatar Mar 12 '15 15:03 vanloswang