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 jma...@loplof.de wrote: On Tue, Oct 21, 2014 at

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 dario.lombardo...@gmail.com wrote: I don't know how, but

[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).

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 dario.lombardo...@gmail.com wrote: Hi

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
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 dario.lombardo...@gmail.com wrote: Well... it's the

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 using

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 pe...@lekensteyn.nl wrote: On Tuesday 21 October 2014 11:20:54 Dario Lombardo wrote:

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 which

Re: [Wireshark-dev] QT with cmake

2014-10-21 Thread Dario Lombardo
On Tue, Oct 21, 2014 at 1:20 PM, Peter Wu pe...@lekensteyn.nl 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

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 pe...@lekensteyn.nl 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

Re: [Wireshark-dev] QT with cmake

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

[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).

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 pe...@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.