Results 1 to 11 of 11

Thread: Can't Compile Tutorial 7

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Cesar Guest

    Exclamation Re: Can't Compile Tutorial 7

    Ok, try this.
    Do this once:
    1. Unzip the attachement to %HOMEPATH%\.Codeblocks
    2. Restart Codeblocks
    3. Menu > Settings > Compiler
    4. Select Other tab
    5. Set Build method to Work with Makefiles (GNU "make" required)
    6. (Optional) Set Logging to Full command line
    7. Menu > Tools > Configure tools...
    8. Add the first tool
      • Add
      • Name: Create QT Project file
      • Executable: Path to qmake.exe
      • Parameters: -o Makefile
      • Working directory: ${PROJECT_DIR}
      • Ok
    9. Add the second tool
      • Add
      • Name: Create Makefile
      • Executable: Path to qmake.exe
      • Parameters: leave empty
      • Working directory: ${PROJECT_DIR}
      • Ok


    For each of your new QT Projects do the following:
    1. Menu > File > New Project...
    2. Select User Templates tab
    3. Choose Cesar's QT Application
    4. After adding new *.cpp, *.h files don't forget to
      1. Menu > Tools > Create QT Project file
      2. Menu > Tools > Create Makefile
    Attached Files Attached Files

Similar Threads

  1. Compile Application in XCode for Release. How?
    By Alex Snet in forum Installation and Deployment
    Replies: 7
    Last Post: 3rd February 2009, 09:16
  2. qtgui4.dll error in visual c++ 2005
    By Comptrol in forum Installation and Deployment
    Replies: 33
    Last Post: 19th June 2008, 07:18
  3. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02
  4. Compile Errors
    By luffy27 in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2006, 05:26
  5. Hehe, Cant Compile tutorial 8
    By Reenen in forum Newbie
    Replies: 1
    Last Post: 8th February 2006, 13:52

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
  •  
Qt is a trademark of The Qt Company.