Results 1 to 3 of 3

Thread: trouble with Qt-4 with kubuntu 8.04

  1. #1
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Thanks
    52
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default trouble with Qt-4 with kubuntu 8.04

    I don't know if I should be on a Kubustu forum or this one, please let me know, but here goes anyway.
    I have just loaded Qt-4.4.0 on my Kubuntu 8,04. I have checked the "/usr/local/Trolltech/Qt-4.4.0 items against my Kubuntu 7.10 items, they are the same.
    I have the
    PATH=/usr/local/Trolltech/Qt-4.4.0/bin:$PATH
    export PATH
    in the .profile file.
    My existing programs run fine. I can edit and "Build" the changes using QDevelop, but If I try to "Rebuild", I get a several pages of errors:
    pete@myComputer:~/Desktop/pm-08-07-03/test/pm$ make
    g++ -c -pipe -Wall -W -g -D_REENTRANT -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -I/usr/X11R6/include -I/usr/X11R6/include -o baseform.o baseform.cpp
    baseform.cpp:32:17: error: QtGui: No such file or directory
    baseform.cpp:34:17: error: QFont: No such file or directory
    baseform.cpp:35:23: error: QPushButton: No such file or directory
    etc. etc.
    i have
    #include <qapplication.h>
    #include <QtGui>
    #include <QFont>
    #include <QPushButton>
    etc.
    in my "baseform.cpp" directory.
    I get the same list of errors if I try to "make" a "tar" program.

    thanks for your help

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: trouble with Qt-4 with kubuntu 8.04

    Run qmake before running make.

  3. The following user says thank you to wysota for this useful post:

    impeteperry (25th July 2008)

  4. #3
    Join Date
    Jan 2006
    Location
    Riverside, Rhode Island, USA
    Posts
    245
    Thanks
    52
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: trouble with Qt-4 with kubuntu 8.04

    Quote Originally Posted by wysota View Post
    Run qmake before running make.
    I feel like an idiot!!

    Thanks for the quick response

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.