Results 1 to 3 of 3

Thread: Qtcreator : Problem to compile examples

  1. #1
    Join Date
    Aug 2009
    Posts
    30
    Thanks
    13
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Qtcreator : Problem to compile examples

    I installed qtcreator 1.2.1 by downloaded it from the website.

    qtdemo works. I can compile my program but the examples doesn't compile :

    Qt Code:
    1. Running build steps for project tabdialog...
    2. Starting: /usr/bin/qmake-qt4 /usr/lib/qt4/examples/dialogs/tabdialog/tabdialog.pro -spec /usr/share/qt4/mkspecs/linux-g++ -r CONFIG+=debug
    3. Failure to open file: /usr/lib/qt4/examples/dialogs/tabdialog/Makefile
    4. Unable to generate makefile for: /usr/lib/qt4/examples/dialogs/tabdialog/tabdialog.pro
    5. Exited with code 5.
    6. Error while building project tabdialog
    7. When executing build step 'QMake'
    To copy to clipboard, switch view to plain text mode 

    I install qt from ubuntu package... I tried with the package qt creator 1.0.0 it was the same.

  2. #2
    Join Date
    Aug 2009
    Posts
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qtcreator : Problem to compile examples

    Go to the project settings pane and check the shadow build option - you have to point a directory you have the read-write access to.

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

    shenakan (18th August 2009)

  4. #3
    Join Date
    Aug 2009
    Posts
    30
    Thanks
    13
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Qtcreator : Problem to compile examples

    Great that work!!
    Thank

Similar Threads

  1. problem to compile exemple qt4 with xlC compiler
    By poulacou in forum Qt Programming
    Replies: 1
    Last Post: 16th April 2008, 14:59
  2. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02
  3. 4.4tp with vs2008 compile problem
    By Teerayoot in forum Installation and Deployment
    Replies: 1
    Last Post: 11th January 2008, 06:56
  4. Qwt plot problem on compile
    By sincnarf in forum Qwt
    Replies: 2
    Last Post: 14th October 2007, 11:36
  5. Problem to compile with MinGW + Qt 4 + winpcap
    By jlbrd in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2006, 16:32

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.