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] Build problems with qt

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 23 Jul 2013 23:38:36 +0200
On Tue, Jul 23, 2013 at 12:47:24PM -0700, Guy Harris wrote:
> 
> On Jul 23, 2013, at 4:03 AM, Joerg Mayer <jmayer@xxxxxxxxx> wrote:
> 
> > building (with qt5) currently fails (clang++)
> 
> I guess you fixed that by adding an explicit include of qpushbutton.h.
> 
> Looking at the header files in the Qt 5.1 SDK, the QtSdk header file does *NOT* include qpushbutton.h or QPushButton.
> 
> And looking at the documentation for QPushButton in 4.8, 5.0, and 5.1, they appear to expect you to include <QPushButton>, so that's not necessarily a fix-with-duct-tape.
> 
> I'll change it to include <QPushButton>; that's probably the right one to include.

Ah, looks much better and works for me.

Thanks
    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.