Wireshark mailing list archives
Re: QT with cmake
From: Dario Lombardo <dario.lombardo.ml () gmail com>
Date: Tue, 21 Oct 2014 15:13:01 +0200
On Tue, Oct 21, 2014 at 2:48 PM, Peter Wu <peter () lekensteyn nl> wrote:
Have you tried to clear your build dir? The QtGui/QAction file is located in the qt4 include directory, in qt5 it is located at QtWidgets/QAction. I've completely deleted the build dir and started over. Same output.
[ 79%] Building CXX object ui/qt/CMakeFiles/qtui.dir/about_dialog.cpp.o In file included from /home/dario/Projects/wireshark/ui/qt/about_dialog.cpp:25:0: /home/dario/Projects/wireshark/ui/qt/ui_about_dialog.h:13:25: fatal error: QtGui/QAction: No such file or directory #include <QtGui/QAction> ^ compilation terminated. make[2]: *** [ui/qt/CMakeFiles/qtui.dir/about_dialog.cpp.o] Error 1 make[1]: *** [ui/qt/CMakeFiles/qtui.dir/all] Error 2 make: *** [all] Error 2 The strange thing I noticed is that QtGui/Qaction is not present in any qt5 package (only qt4) wireshark/build$ sudo apt-file search QAction libqt4-dev: /usr/include/qt4/QtGui/QAction libqt4-dev: /usr/include/qt4/QtGui/QActionEvent libqt4-dev: /usr/include/qt4/QtGui/QActionGroup qtbase5-dev: /usr/include/qt5/QtGui/QActionEvent qtbase5-dev: /usr/include/qt5/QtWidgets/QAction qtbase5-dev: /usr/include/qt5/QtWidgets/QActionGroup
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- QT with cmake Dario Lombardo (Oct 21)
- Re: QT with cmake Michal Orynicz (Oct 21)
- Re: QT with cmake Dario Lombardo (Oct 21)
- Re: QT with cmake Michal Orynicz (Oct 21)
- Re: QT with cmake Dario Lombardo (Oct 21)
- Re: QT with cmake Peter Wu (Oct 21)
- Re: QT with cmake Dario Lombardo (Oct 21)
- Re: QT with cmake Peter Wu (Oct 21)
- Re: QT with cmake Dario Lombardo (Oct 21)
- Re: QT with cmake Peter Wu (Oct 21)
- Re: QT with cmake Dario Lombardo (Oct 21)
- Re: QT with cmake Joerg Mayer (Oct 21)
- Re: QT with cmake Dario Lombardo (Oct 22)
- Re: QT with cmake Alexis La Goutte (Oct 22)
- Re: QT with cmake Dario Lombardo (Oct 21)
- Re: QT with cmake Michal Orynicz (Oct 21)
- <Possible follow-ups>
- QT with cmake Dario Lombardo (Oct 21)