For your particular case, you should be able to just us a "#undef
Bool" after the #include line.
Or, if you use Xlib.h in many
modules, you can create your own mitchsXlib.h and put this in there.
Or, you could grep the Qt4 sources for Xlib.h and see how they did it.
Karl
On 2013-09-06 1
Thanks for your response, Thiago.
So your intutiion was correct: the error is coming from exacty a line that
says
#define Bool int
However, this line is located in the the X11 libraries, in Xlib.h.
I was using X11 to inject mouse clicks into the application.
I had no problems using Xlib.h whe
Thanks so much for the hints. I will try to implement these suggestions.
On Fri, Sep 6, 2013 at 1:25 PM, Andreas Pakulat wrote:
> Hi,
>
> On Fri, Sep 6, 2013 at 7:09 PM, Mitchell Verter > wrote:
>
>> Thanks for your response, Thiago.
>>
>> So your intutiion was correct: the error is coming f
Hi,
On Fri, Sep 6, 2013 at 7:09 PM, Mitchell Verter
wrote:
> Thanks for your response, Thiago.
>
> So your intutiion was correct: the error is coming from exacty a line
> that says
>
> #define Bool int
>
> However, this line is located in the the X11 libraries, in Xlib.h.
>
> I was using X11 to
On sexta-feira, 30 de agosto de 2013 16:41:12, Mitchell Verter wrote:
> moc_MainWindow.cpp:104:50: error: expected unqualified-id before ‘int’
> moc_MainWindow.cpp:104:50: error: expected ‘}’ before ‘int’
> 104:QMetaType::Void, QMetaType::UInt, QMetaType::Bool,2,2,
Note how there's no