Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiling question...
Forum Updated to NodeBB v4.3 + New Features

Compiling question...

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.5k 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.
  • R Offline
    R Offline
    Rawful
    wrote on last edited by
    #1

    I have made a small Qt program in Windows, and I do not understand how to compile it for use in Linux (using DSL distribution). What steps do I need to take? I am guessing that I will be compiling it in command line.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Franzk
      wrote on last edited by
      #2

      What did you use on windows? In the case of MSVC, use the Qt VS plug-in to generate some .pro and .pri files. Then on Linux you should be able to pretty much do
      @qmake && make@
      and go through the cycle fix/make until everything works.

      If you are using qmake with mingw on windows, you use make instead of mingw32-make.

      Once you have the .pro files you can use Qt Creator on Linux. That would save you from learning the command line stuff. It'll still be useful if you do though.

      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0

      • Login

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