Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Executables
Qt 6.11 is out! See what's new in the release blog

Executables

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 955 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    xatziaris
    wrote on last edited by
    #1

    i have a question regarding the executables produced when running a project:

    i use the Qt Creator on linux (64bit). i can take the executable from the release folder and run it anywhere in my computer. i tried to run it on another pc with 32bit linux or windows (64bit) and it wouldn't start. i assume this is normal.

    is there a way to produce different executables for different OS's from my 64bit linux Qt Creator?

    ty and happy new year :)

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and Happy New Year
      You need to deploy your application on other pcs
      http://www.tripleboot.org/?p=138
      It need DLLS/SO files to run.

      -different executables for different OS's from my 64bit linux Qt Creator?
      Yes. its called cross compile and requires some extra setup
      http://stackoverflow.com/questions/10934683/how-do-i-configure-qt-for-cross-compilation-from-linux-to-windows-target

      1 Reply Last reply
      1
      • X Offline
        X Offline
        xatziaris
        wrote on last edited by
        #3

        the first one is only for the same OS? if i do that correctly i'll be able to run it on linux 64bit or on any linux?

        mrjjM 1 Reply Last reply
        0
        • X xatziaris

          the first one is only for the same OS? if i do that correctly i'll be able to run it on linux 64bit or on any linux?

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @xatziaris
          Well www.tripleboot.org explains what files u need to run standalone.

          But there are rules. 64bit program won't run on 32 bit OS
          and sometimes 64bit OS need extra installed to run 32 bit program.
          http://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved