Hi i'm using QT4 on Puppy Linux 4.00 dingo (though it shouldn't matter... i think), and i'm trying to compile several applications that use QT4. One is kccmp-0.2 with QT4 enabled in the .pro file. The other is KDE. Both are throwing errors that follow the general form:
Qt Code:
  1. /usr/include/QtDBus/qdbusextratypes.h:148: error: expected constructor, destructor, or type conversion before 'template'
  2.  
  3. //or
  4.  
  5. /usr/include/QtGui/qtgui.h:62: error: expected constructor, destructor, or type conversion before 'typedef'
To copy to clipboard, switch view to plain text mode 

Qt is installed correctly, and i think the problem lies somewhere inside what preprocessor defines are in qglobal.h

I have no idea how to fix this problem. I've searched google and asked on KDE forums and noone could help. Someone please help!

Now i know why noone likes proprocessor defined constants.