Results 1 to 20 of 39

Thread: Unable to execute in Debug Mode

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Unable to execute in Debug Mode

    As I said - you're using the wrong qmake.exe...
    You build Qt4.1.1 with debug in C:\Qt\4.1.1 but you run qmake.exe from 4.1.0 in C:\Qt\4.1.0. This 'old' qmake is using the library-paths from 4.1.0 and not the paths from 4.1.1.
    Rerun qmake (c:\Qt\4.1.1\bin\qmake).

  2. #2
    Join Date
    Feb 2006
    Location
    New Delhi,India
    Posts
    226
    Thanks
    14
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Unable to execute in Debug Mode

    Quote Originally Posted by ChristianEhrlicher
    As I said - you're using the wrong qmake.exe...
    You build Qt4.1.1 with debug in C:\Qt\4.1.1 but you run qmake.exe from 4.1.0 in C:\Qt\4.1.0. This 'old' qmake is using the library-paths from 4.1.0 and not the paths from 4.1.1.
    Rerun qmake (c:\Qt\4.1.1\bin\qmake).
    okay... what option should i specify with qmake.. shold it be -makefile

  3. #3
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Unable to execute in Debug Mode

    Quote Originally Posted by Kapil
    okay... what option should i specify with qmake.. shold it be -makefile
    Please think before you post...
    You should execute c:\Qt\4.1.1\bin\qmake and not c:\Qt\4.1.0\bin\qmake . If you used some options before, you should use them now too.

  4. #4
    Join Date
    Feb 2006
    Location
    New Delhi,India
    Posts
    226
    Thanks
    14
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Unable to execute in Debug Mode

    Quote Originally Posted by ChristianEhrlicher
    Please think before you post...
    You should execute c:\Qt\4.1.1\bin\qmake and not c:\Qt\4.1.0\bin\qmake . If you used some options before, you should use them now too.

    Hi..

    Its working now...

    Thanks a lot for pointing out my mistake... next time i would definetly work out all my options before posting so that it does not create inconvenience for you all... Sorry for that..

    take care..

    with regards,
    Kapil

Similar Threads

  1. Difference between Debug and Release Mode
    By sunil.thaha in forum Qt Programming
    Replies: 2
    Last Post: 5th May 2013, 13:31
  2. How to Compile VTKDesigner2 with Qt?
    By alfredoaal in forum Newbie
    Replies: 0
    Last Post: 5th September 2008, 05:34
  3. Some very weird compilation warnings
    By MarkoSan in forum Qt Programming
    Replies: 21
    Last Post: 23rd January 2008, 16:48
  4. Debug mode Qt 4.3.2
    By oetzi in forum Newbie
    Replies: 3
    Last Post: 13th October 2007, 18:06
  5. What is debug mode for without MSVC?
    By firegun9 in forum Newbie
    Replies: 1
    Last Post: 5th September 2007, 17:21

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.