Qt for linux Application



  • Hi,
    I have to develop an application for linux. But have never used that os.
    I want to know what is my best developement environement configuration option.

    • Develop directly on my windows machine then Deploy/Run/Test on a Virtual Linux on the same PC
    • Develop directly under the VM
    • Have a 'real' Linux partition on my machine and dev/Deploy/Run/Test there
    • other ?
      thank you

  • Moderators

    @LeLev said in Qt for linux Application:

    I want to know what is my best developement environement configuration option.

    you should specify "best".
    All of the mentioned options would work. Whatever is easier for you to use.


  • Moderators

    @LeLev said in Qt for linux Application:

    Develop directly on my windows machine then Deploy/Run/Test on a Virtual Linux on the same PC

    If you don't have any use for Linux other than testing your app - I'd vote for this solution. You need to test on several Linux distributions anyway, so it makes sense to use VMs for that.

    Unless your app uses some special hardware / drivers etc. which may cause troubles in a VM.

    Give Linux a try, though, it's great ;-) And tents to work much faster than Windows, esp. git and compilation.



  • hi @raven-worx
    by 'best' i mean :

    • close to the reality
    • simple to set up
    • quick / time saving

    And what is the version of linux i should use ?
    https://upload.wikimedia.org/wikipedia/commons/1/1b/Linux_Distribution_Timeline.svg


  • Moderators

    Oh that is a huge question.

    Ubuntu is the most popular, last LTS release is 18.04 from last year.

    Fedora and OpenSUSE are also quite common.

    CentOS and RHEL are popular with governments, banks etc. but they are a pain in the rear end to support.

    If you have some target audience, try to learn what they need. Supporting all distros properly is hard. You'll need to package your app for each distro family (DEB packages and RPM packages), but you can also try all-in-one solutions like AppImage or snap packages.

    ... and what I wrote is just the tip of an iceberg :-)


  • Qt Champions 2017

    @LeLev said in Qt for linux Application:

    And what is the version of linux i should use ?

    You're probably going to get a better answer if you do a straw-poll to see what people working on linux here use. My advice is to get a respectable and mature distribution instead of one that's new and shiny. I've been told Arch is quite good. Suse is popular in germany, so if you're german that may appeal to you ;P. Ubuntu's an option. I personally use Debian (the testing flavor).

    @sierdzio said in Qt for linux Application:

    CentOS and RHEL are popular with governments, banks etc. but they are a pain in the rear end to support.

    Amen brother! RedHat sux!



  • @kshegunov and @sierdzio thank you very much for the informations,
    I'm creating a device (HMI) , users will only interact with the system through my app
    Application will use OPCUA/TCP/SFTP/UDP//SSH//QtQuick
    I will try to find good resources to start learning basics on linux... it was inevitable


  • Moderators

    So an embedded system. In such case you may want to get the actual target device (raspberry pi, NUC or something) because they tend to have their own quirks. If you have commercial Qt license you can also try Boot2qt, it makes the setup easier I think (not sure, I've never used it). But perhaps start with some general Linux distro just to get some initial experience, and leave the real device for "step 2" :-)



  • @sierdzio thxs ! i did not know NUC
    it looks very close to what we need, thank you


Log in to reply