Results 1 to 3 of 3

Thread: Compile my app for linux

  1. #1
    Join Date
    Oct 2016
    Posts
    61
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default Re: Compile my app for linux

    Hi my app run with linux but i want to compile for linux to run in this. How i can? thx in advance.


    Added after 1 16 minutes:


    i used like compiler msvc2013 so idk if i can run for linux or compile for linux
    Last edited by SirJonas; 28th October 2016 at 02:40.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Compile my app for linux

    The Microsoft compilers only target Windows.

    If you want to compile your code to target Linux then this is easiest done with a Linux machine and its typical toolchain.

  3. #3
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Compile my app for linux

    I agree with ChrisW67. I tried to build a cross-compiler toolchain that runs on Windows to produce linux binaries and gave up after several weeks of effort. It's easier to just install VirtualBox on your Windows machine, create a linux virtual machine, and build the project in that.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Replies: 3
    Last Post: 31st March 2013, 12:17
  2. Compile QWT for ARM linux
    By zuoshulu in forum Qwt
    Replies: 5
    Last Post: 25th February 2012, 08:52
  3. Is it possible to compile Qt 4.7.1 on Linux using gcc 3.3.3?
    By hochl in forum Installation and Deployment
    Replies: 4
    Last Post: 1st April 2011, 21:19
  4. Can't Compile on Ubuntu Linux
    By mpauley in forum Newbie
    Replies: 6
    Last Post: 9th April 2010, 22:00
  5. How do I compile for linux on windows?
    By waitingforzion in forum Newbie
    Replies: 4
    Last Post: 28th December 2009, 07: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.