Re: [Wireshark-dev] QT with cmake

2014-10-22 Thread Alexis La Goutte
Hi Dario, I have already get this issue... (don't good idea to mix autofoo and cmake) Do you have try to cleanup your git repo ? git clean(up?) -X -F and what the end of output of cmake ? On Wed, Oct 22, 2014 at 9:34 AM, Dario Lombardo wrote: > I don't know how, but now it compiles. > My guess

Re: [Wireshark-dev] QT with cmake

2014-10-22 Thread Dario Lombardo
I don't know how, but now it compiles. My guess is that it was related to (one of them or both): 1) previous compilation with qt4 2) previous compilation with autotools Thanks everybody for your help. On Wed, Oct 22, 2014 at 1:58 AM, Joerg Mayer wrote: > On Tue, Oct 21, 2014 at 03:13:01PM +0200

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Joerg Mayer
On Tue, Oct 21, 2014 at 03:13:01PM +0200, Dario Lombardo wrote: > On Tue, Oct 21, 2014 at 2:48 PM, Peter Wu 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 comp

[Wireshark-dev] QT with cmake

2014-10-21 Thread Dario Lombardo
Hi list I tried to compile the master of wireshark using cmake. mkdir build cd build cmake .. make In run/ I can find wireshark-gtk but not qt. Any specific command to pass to cmake to have it? I am able to obtain qt executable using autotools (meaning that my qt dev subsystem should be fine). T

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Dario Lombardo
On Tue, Oct 21, 2014 at 2:48 PM, Peter Wu 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

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Peter Wu
On Tuesday 21 October 2014 14:11:25 Dario Lombardo wrote: > On Tue, Oct 21, 2014 at 1:20 PM, Peter Wu wrote: > > > > > What distro are you using? For Debian/Ubuntu you need to install > > qttools5-dev. > > > > It is exactly what I'm using (ubuntu 14.04). I've installed qttools5-dev > and compil

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Dario Lombardo
On Tue, Oct 21, 2014 at 1:20 PM, Peter Wu wrote: > > What distro are you using? For Debian/Ubuntu you need to install > qttools5-dev. > It is exactly what I'm using (ubuntu 14.04). I've installed qttools5-dev and compilation made few steps ahead, but then stopped with Scanning dependencies of

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Peter Wu
On Tuesday 21 October 2014 13:12:18 Dario Lombardo wrote: > Well... after installing some other qt5 packages I get > > CMake Error at ui/qt/CMakeLists.txt:306 (QT5_ADD_TRANSLATION): > Unknown CMake command "QT5_ADD_TRANSLATION". On Arch Linux, the package qt5-tools provides the following file w

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Dario Lombardo
Well... after installing some other qt5 packages I get CMake Error at ui/qt/CMakeLists.txt:306 (QT5_ADD_TRANSLATION): Unknown CMake command "QT5_ADD_TRANSLATION". On Tue, Oct 21, 2014 at 11:49 AM, Peter Wu wrote: > On Tuesday 21 October 2014 11:20:54 Dario Lombardo wrote: > > I tried to com

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Peter Wu
On Tuesday 21 October 2014 11:20:54 Dario Lombardo wrote: > I tried to compile the master of wireshark using cmake. > > mkdir build > cd build > cmake .. > make > > In run/ I can find wireshark-gtk but not qt. Any specific command to pass > to cmake to have it? I am able to obtain qt executable u

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Michal Orynicz
Please check if You have QT flags set up properly. Using ccmake or cmake-gui might help with checking those up. There is a switch to chose between QT5 and QT4 in cmake setup, which might be the culprit. On 21 October 2014 11:38, Dario Lombardo wrote: > Well... it's the first thing I searched for

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Dario Lombardo
Well... it's the first thing I searched for, since I compiled it with autotools and I noticed that switch. But actually wireshark/build$ find . -name wireshark wireshark/build$ find . -name wireshark-gtk ./run/wireshark-gtk wireshark/build$ wireshark qt seems not to be compiled at all. On Tue,

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Michal Orynicz
Hi, right now wireshark-qt is renamed to wireshark, and wireshark was renamed to wireshark-gtk. This is to push people to use the new UI. So please check if Your wireshark binary is the one You are searching for :) On 21 October 2014 11:20, Dario Lombardo wrote: > Hi list > I tried to compile th

[Wireshark-dev] QT with cmake

2014-10-21 Thread Dario Lombardo
Hi list I tried to compile the master of wireshark using cmake. mkdir build cd build cmake .. make In run/ I can find wireshark-gtk but not qt. Any specific command to pass to cmake to have it? I am able to obtain qt executable using autotools (meaning that my qt dev subsystem should be fine). T