Results 1 to 4 of 4

Thread: Problems with release build

  1. #1
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Problems with release build

    Hi all,

    I am using QTCreator for QT project. The project builds fine and everything works great unless I try to build release configuration.

    The problem is, some how, qmake is unable to produce release build at all. I tried out various methods but failed miserably. Can anyone suggest me a workaround ?

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems with release build

    Have you installed release version of Qt libraries?
    A camel can go 14 days without drink,
    I can't!!!

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

    murtuzakabul (12th March 2011)

  4. #3
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    131
    Thanks
    11
    Thanked 16 Times in 16 Posts
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problems with release build

    Any error messages? What do you mean with "failed"? Operating System? Qt Version?...

  5. The following user says thank you to nightghost for this useful post:

    murtuzakabul (12th March 2011)

  6. #4
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problems with release build

    Yes, I have installed debug-and-release version. I think I should also share some further information. My project used to build properly in both debug and release mode previously. Later I added SQL module to project which I think is the prime suspect for problem. Moreover, the project still builds in debug version fine and runs properly. While attempting the release build, it proceeds for building but no output is generated in release folder and no error is thrown by the compiler.

    I have few questions which might help in pointing out the issue.
    - Is it possible that adding a debug version of any of the module might cause failure to build release version for entire project
    - Is there any specific qmake switches which forces building release version

    I use QTCreator for my projects. I have moved to it recently on release of the new ide before that I used to use visual studio express version to compile my projects.

    The toolchain I am using is MSVC2010 Compiler with windows SDK.

Similar Threads

  1. QGLWidget release build problem
    By RauBurger in forum Installation and Deployment
    Replies: 3
    Last Post: 6th December 2010, 18:11
  2. Build release and run error
    By gabriele in forum Newbie
    Replies: 11
    Last Post: 16th February 2010, 21:23
  3. Replies: 3
    Last Post: 3rd December 2009, 16:12
  4. XCode and Qt4.3 Release Build
    By themolecule in forum Qt Programming
    Replies: 0
    Last Post: 12th August 2007, 07:20
  5. .png not displayed with release build
    By mnemonic_fx in forum Qt Tools
    Replies: 1
    Last Post: 5th July 2007, 09:41

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.