Results 1 to 7 of 7

Thread: Compilation and distribution

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Wink Re: Compilation and distribution

    I see, so I am able to generate the project with QT still?

    And once I've done in QT, I would add a new build step and point it to the cross-platform compiler and pass it the suitable arguments?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Compilation and distribution

    Quote Originally Posted by cpearson1990 View Post
    And once I've done in QT, I would add a new build step and point it to the cross-platform compiler and pass it the suitable arguments?
    Code normal and use *.pro file with win32{} scope or the others to bind specific os stuff, then simply install different cross compilers, use the -spec option of qmake and build for the different targets like you currently do.

  3. #3
    Join Date
    Jun 2009
    Location
    Bato, Leyte, Philippines
    Posts
    10
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11

    Default Re: Compilation and distribution

    Download the QtCreator installer for Windows on your windows machine, install it, just copy your project. Recompile your project in windows box.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Compilation and distribution

    As for Linux, it might be even simpler to install a virtual machine and compile there, rather than setting up a cross-compiler.
    J-P Nurmi

Tags for this Thread

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.