Results 1 to 3 of 3

Thread: compiling a qt project under win32

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    369
    Thanks
    14
    Thanked 18 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default compiling a qt project under win32 [tip]

    As you all know, compiling Qt on win32 is a pain in the ?!@#!@#.

    I am attaching here a batch file, calls qmake which compiles the application, and executes it. This can be used as an external tool on those cool editor which can run external commands on buttons clicks. I use F5 on Notepad++ to build my projects.

    A few assumptions:
    - There is only on pro file in the dir
    - The application name must be set (and must be on a sub dir called bin )
    - Eigther Qt is defined in the environment, or you modified the first lines of the batch file to find your local installation.
    - All make output is saved into "errors.txt"
    - Rename the attached file to *.bat, as the forum does not allow attaching *.bat files

    Please comment, and eben tough I cannt force you, don't fork the code, this way it will be easier for me to follow any improovements

    Use and abuse, as it's public domain!

    (to the admins of this site, please allow the uploads of *.BAT files, as some people do work on Windows here)
    Attached Files Attached Files
    Last edited by high_flyer; 18th January 2006 at 21:11.

Similar Threads

  1. Compiling a project
    By dreamer in forum Installation and Deployment
    Replies: 2
    Last Post: 3rd July 2008, 10:11
  2. Replies: 1
    Last Post: 15th June 2008, 17:42
  3. Compiling a Qt project in Mac
    By sunil.thaha in forum Newbie
    Replies: 5
    Last Post: 31st October 2007, 06:20
  4. Replies: 3
    Last Post: 18th April 2007, 15:31
  5. Compiling Linux project on Mac
    By December in forum Newbie
    Replies: 2
    Last Post: 25th March 2007, 04:25

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.