Wireshark-dev: Re: [Wireshark-dev] QT with cmake

From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Wed, 22 Oct 2014 09:58:29 +0200
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.ml@xxxxxxxxx> wrote:
> 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 <jmayer@xxxxxxxxx> wrote:
>>
>> On Tue, Oct 21, 2014 at 03:13:01PM +0200, Dario Lombardo wrote:
>> > On Tue, Oct 21, 2014 at 2:48 PM, Peter Wu <peter@xxxxxxxxxxxxx> 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>
>>
>> Weird. Where does this include come from? I can't find it in any file.
>> Hmm, OK, it's in a generated file and most probably generated for Qt4.
>> So maybe it is not properly picking up the qt5 tools (uic) but using
>> the qt4 version instead?
>> Or there is a leftover. The path looks like the file ui_about_dialog.h
>> is in tree, not out of tree, but that's for you to confirm or deny.
>>
>> Ciao
>>    Jörg
>>
>> --
>> Joerg Mayer                                           <jmayer@xxxxxxxxx>
>> We are stuck with technology when what we really want is just stuff that
>> works. Some say that should read Microsoft instead of technology.
>>
>> ___________________________________________________________________________
>> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>> Archives:    http://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>
>> mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>
>
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe