Results 1 to 3 of 3

Thread: qmake x64 for windows

  1. #1
    Join Date
    Apr 2011
    Posts
    4
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default qmake x64 for windows

    Hi,

    i am using qt 4.7.1 and want to compile code for 32bit and 64 bit windows using qmake. i am using vs2008.

    Thanks
    Ashish

  2. #2
    Join Date
    Aug 2009
    Location
    Greece
    Posts
    69
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qmake x64 for windows

    Trying to understand what you mean:
    1) Produce x64 apps
    qmake is not a compiler. It just produces the makefiles from .pro files. nmake is your compiler since you are using VS. If you are using the express edition you can find the x64 version in windows SDK.
    2) You can't integrate Qt in VS.
    In that case you need qt-vs-addin and ther are plenty other topics to read about how this can be done

  3. #3
    Join Date
    Apr 2011
    Posts
    4
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: qmake x64 for windows

    Thanks Rhayader for reply.
    We're currently using qmake and .pro files to create projects for Visual Studio 2008, but the default solution platform is Win32. Each time the projects are rebuilt, I have to manually change the platform to x64 by going into the configuration manager and duplicating settings from the Win32 solution.

    There is any way to automatically create a VS2008 solution configured for a x64 build. Do I need to create my own makespec for QT? Do I need to specify x64-specific VS flags? Does anyone have an example they can post which they have successfully used for creating x64-spec projects?

    Thanks Ashish

Similar Threads

  1. qmake problem with application icon in windows
    By dashesy in forum Qt Programming
    Replies: 4
    Last Post: 12th June 2017, 05:33
  2. qmake x64 for windows
    By ashishbme in forum Best Practices in Qt Programming
    Replies: 0
    Last Post: 8th April 2011, 12:07
  3. Problem qmake-ing a file.py (on windows)
    By Amelie in forum Newbie
    Replies: 0
    Last Post: 22nd February 2011, 15:43
  4. Where i can find qmake in Windows Vista?
    By priya in forum Newbie
    Replies: 4
    Last Post: 1st September 2010, 07:05
  5. qmake can't process project file on windows
    By s-troz in forum Qt Programming
    Replies: 3
    Last Post: 25th October 2008, 14:51

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.