Results 1 to 6 of 6

Thread: Does qmake support out of source builds?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Does qmake support out of source builds?

    Did you have proper environment / PATH set ?
    Try opening the visual studio command prompt and then trying compiling..

  2. #2
    Join Date
    Apr 2008
    Location
    Pittsburgh,PA,USA
    Posts
    48
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Does qmake support out of source builds?

    This was from a proper Visual Studio 2008 32 bit command prompt.
    John

  3. #3
    Join Date
    Apr 2008
    Location
    Pittsburgh,PA,USA
    Posts
    48
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Does qmake support out of source builds?

    Okay. I tested and it appears to work if I shorten the path by substituting the long path with a drive letter.

    subst k: x:\QMakeBased\Libraries\qwt-5.2.1

    then

    x:\32Bit\VC.90\Temp\Qwt-5.2.1>qmake -r k:\qwt.pro

    then build and install..

    Maybe I should bug microsoft for the reason why in 2010 we have a maximum command line length of 8K (or 8000?) in windows 7 64 bit.

    But I guess that is a tremendous improvement over the past:
    http://msdn.microsoft.com/en-us/libr...st(VS.80).aspx
    John

Similar Threads

  1. Replies: 7
    Last Post: 30th May 2011, 09:34
  2. QMake and GIF Support
    By sheeeng in forum Installation and Deployment
    Replies: 16
    Last Post: 28th July 2009, 10:49
  3. qmake using source files not in .pro file
    By Asperamanca in forum Newbie
    Replies: 12
    Last Post: 9th July 2009, 15:29
  4. Qt/Windows Open Source Edition to support VS Express
    By pdolbey in forum Installation and Deployment
    Replies: 3
    Last Post: 23rd September 2007, 14:32
  5. 4.1.4 built from source, qmake fails with Hello World
    By Mookie in forum Installation and Deployment
    Replies: 6
    Last Post: 27th June 2006, 23:13

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.