Results 1 to 2 of 2

Thread: Force a x86 buildfrom a x64 project using Qt Creator, Qt 5.1 x64 (Visual Studio 2012)

  1. #1
    Join Date
    Oct 2009
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows

    Default Force a x86 buildfrom a x64 project using Qt Creator, Qt 5.1 x64 (Visual Studio 2012)

    Hi,

    I have a global Qt Creator project with several modules (executables and plugins), using Qt 5.1 x64 Visual Studio 2012.
    One of theses submodule is an executable, not using the Qt framework, that I must compile as x86.
    How can I define his project settings so this one gets compiled as x86 specifically, while the rest of the projects are compiled as x64 ?

    thanks
    Last edited by divide; 13th September 2013 at 14:46.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Force a x86 buildfrom a x64 project using Qt Creator, Qt 5.1 x64 (Visual Studio 2

    It's not the right place to do this. The architecture you build a project for is not part of project definition. You need to invoke a different compiler (e.g. a different kit in QtCreator) for it which can't be specified in a .pro file.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Qt 5.1.1 not recognized by Visual Studio Add-in 2012
    By cdarwin in forum Qt Programming
    Replies: 0
    Last Post: 5th June 2013, 12:05
  2. Help regarding QT plugins for Visual studio 2012
    By shah_27 in forum Qt Programming
    Replies: 0
    Last Post: 9th January 2013, 09:42
  3. Replies: 1
    Last Post: 3rd January 2013, 17:21
  4. Build qt 5 with Visual Studio 2012
    By Edder in forum Installation and Deployment
    Replies: 4
    Last Post: 28th December 2012, 10:16
  5. Qt 4.8.3 with Visual Studio 2012 does not compile the webkit
    By dennis81 in forum Installation and Deployment
    Replies: 1
    Last Post: 4th December 2012, 02: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.