Results 1 to 15 of 15

Thread: difference between command line compile and qtcreator compile.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: difference between command line compile and qtcreator compile.

    You can see that in the Project settings (Project button on the left hand side in QtCreator).

    A project can actually be configured for multiple kits and the active target chosen in the switcher above the "run" button.

    Cheers,
    _

  2. #2
    Join Date
    Dec 2015
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: difference between command line compile and qtcreator compile.

    The modules that come with Qt don't have associated project files that I can find. Am I missing something here?
    I only have (one) project file and that is for the simple test that I put in.

  3. #3
    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: difference between command line compile and qtcreator compile.

    Assuming you used the Qt Online binary installer then you select Qt libraries (in the installer GUI) to install based on the bit-ness and compiler involved. There a quite a few combinations.
    http://doc.qt.io/QtSupportedPlatforms/index.html

    You can also download the library bundles individually, each labelled with the environment they are for. In Windows there are many different options. All Linux builds are with GCC and OS X uses LLVM/Clang (i think)
    http://www.qt.io/download-open-source/#section-3

    If you build the Qt libraries from source then you know what toolchains you used.

  4. #4
    Join Date
    Dec 2015
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: difference between command line compile and qtcreator compile.

    Debian Jessie both on desktop and RPi2.
    Tried compiling from source on the RPi2 already and after 2 1/2 weeks of effort things were still missing. Debian repository actually has the solution with the most parts (but still not complete due to graphics engine not finished.)

    Debian Jessie for the desktop is almost complete in their repositories EXCEPT for the qmake for cross compile version for armv7hf -- that is what I'm trying to find now. Can't find source code to compile either. Which is why I asked in here.

    Debian Jessie is Linux version.

  5. #5
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,329
    Thanks
    317
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: difference between command line compile and qtcreator compile.

    The modules that come with Qt don't have associated project files that I can find.
    What do you mean by "modules"? The qtbase, widgets, and other directories in a Qt binary distribution? They may not, because they are binary distributions. If you've tried to configure a build from source, then the configuration script will possibly create them.

    The "examples" directories do have .pro files, and when you open one in QtCreator you must configure the project to use whichever kits you want to use for compiling and building. I have kits installed for android, mingw, and both 32-bit and 64-bit versions of MSVC 2013. All of those a listed as possibilities when I open a project and go to the QtCreator Projects page and click on the Configure Project tab.

  6. #6
    Join Date
    Dec 2015
    Posts
    22
    Qt products
    Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: difference between command line compile and qtcreator compile.

    Thank you, d_stranz. I did not find them before so I will look again.

Similar Threads

  1. Replies: 0
    Last Post: 22nd December 2013, 22:11
  2. Replies: 8
    Last Post: 31st July 2012, 13:50
  3. Replies: 7
    Last Post: 6th June 2012, 07:48
  4. How to run shell command after compile finished in pro file?
    By hashb in forum Installation and Deployment
    Replies: 1
    Last Post: 11th May 2011, 15:10
  5. How to compile from command line?
    By tonnot in forum Newbie
    Replies: 6
    Last Post: 15th March 2011, 14:55

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.