Results 1 to 2 of 2

Thread: Build executable for linux on a windows pc

  1. #1
    Join Date
    Jan 2015
    Posts
    1
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Build executable for linux on a windows pc

    Hi,

    I am trying to build linux executable of my application. I am developing on a windows platform with Qt 5.3.2, Qt Creator.
    I want to know the procedure to build linux executable and windows stand alone executable.can somebody help with the steps of making them.

    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Build executable for linux on a windows pc

    QtCreator for Windows can already create Windows executables.

    For the Linux executables you'll need a cross-compile toolchain, build Qt with it and then configured a "kit" in QtCreator with the toolchain's compiler and the cross-built Qt.
    It usually easier to just build on Linux though, even if it is just within a virtual machine.

    Cheers,
    _

Similar Threads

  1. Replies: 3
    Last Post: 31st July 2013, 01:32
  2. Replies: 2
    Last Post: 3rd October 2011, 23:04
  3. Replies: 13
    Last Post: 10th June 2009, 01:56
  4. Build windows app for Linux
    By cmaxb in forum Qt Programming
    Replies: 1
    Last Post: 19th June 2006, 19:40

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.