Results 1 to 2 of 2

Thread: Qt4 kccmp kde compiling issues (expected constructor...)

  1. #1
    Join Date
    Feb 2009
    Posts
    1

    Exclamation Qt4 kccmp kde compiling issues (expected constructor...)

    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.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt4 kccmp kde compiling issues (expected constructor...)

    That project compiles fine on my system. There must be something wrong with Qt on your system. How did you install Qt?

Similar Threads

  1. use libs under qt4
    By raphaelf in forum Qt Programming
    Replies: 6
    Last Post: 27th February 2006, 17:59

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.