ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] My build broke, very unusual

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 17 Jun 2016 18:22:44 +0200
And solved again :)

https://code.wireshark.org/review/15995

Thanks,
Jaap


On 17-06-16 08:49, Jaap Keuter wrote:
> Hi,
> 
> Hasn't happened in a while, but my build broke.
> Probably after https://code.wireshark.org/review/15985
> Build is being done on Debian Testing. Am I missing something?
> 
> Thanks,
> Jaap
> 
> ...
> Making all in ui/qt
> make[2]: Entering directory '/home/jaap/src/wireshark/master/ui/qt'
>   CXX      voip_calls_dialog.o
> voip_calls_dialog.cpp: In member function ‘void
> VoipCallsDialog::on_actionCopyAsCsv_triggered()’:
> voip_calls_dialog.cpp:630:23: error: invalid use of incomplete type ‘class
> QClipboard’
>      wsApp->clipboard()->setText(stream.readAll());
>                        ^
> In file included from /usr/include/qt4/QtGui/qwidget.h:46:0,
>                  from /usr/include/qt4/QtGui/qdialog.h:45,
>                  from /usr/include/qt4/QtGui/QDialog:1,
>                  from geometry_state_dialog.h:25,
>                  from wireshark_dialog.h:42,
>                  from voip_calls_dialog.h:31,
>                  from voip_calls_dialog.cpp:22:
> /usr/include/qt4/QtGui/qwindowdefs.h:84:7: note: forward declaration of ‘class
> QClipboard’
>  class QClipboard;
>        ^
> voip_calls_dialog.cpp: In member function ‘void
> VoipCallsDialog::on_actionCopyAsYaml_triggered()’:
> voip_calls_dialog.cpp:644:23: error: invalid use of incomplete type ‘class
> QClipboard’
>      wsApp->clipboard()->setText(stream.readAll());
>                        ^
> In file included from /usr/include/qt4/QtGui/qwidget.h:46:0,
>                  from /usr/include/qt4/QtGui/qdialog.h:45,
>                  from /usr/include/qt4/QtGui/QDialog:1,
>                  from geometry_state_dialog.h:25,
>                  from wireshark_dialog.h:42,
>                  from voip_calls_dialog.h:31,
>                  from voip_calls_dialog.cpp:22:
> /usr/include/qt4/QtGui/qwindowdefs.h:84:7: note: forward declaration of ‘class
> QClipboard’
>  class QClipboard;
>        ^
> Makefile:1809: recipe for target 'voip_calls_dialog.o' failed
> make[2]: *** [voip_calls_dialog.o] Error 1
> make[2]: Leaving directory '/home/jaap/src/wireshark/master/ui/qt'
> Makefile:3260: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/jaap/src/wireshark/master'
> Makefile:1783: recipe for target 'all' failed
> make: *** [all] Error 2
> jaap@host:~/src/wireshark/master(master)$ git rev-parse HEAD
> 42b060905e6a84c1413803e59766802089f6349d
> jaap@host:~/src/wireshark/master(master)$