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. Switching to Linux?

Switching to Linux?

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 4 Posters 638 Views
  • 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.
  • P Offline
    P Offline
    Puckvox
    wrote on last edited by
    #1

    I'm currently using QT 6.0.2 on Windows, but I want to switch to Linux Mint XFCE. Will my current version of QT work on Linux, or do I need to redownload a linux version of QT?

    JonBJ jsulmJ 2 Replies Last reply
    0
    • P Puckvox

      I'm currently using QT 6.0.2 on Windows, but I want to switch to Linux Mint XFCE. Will my current version of QT work on Linux, or do I need to redownload a linux version of QT?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @Puckvox
      Will the binaries of something under Windows work under Linux?? No.

      If you downloaded the sources of Qt and compiled it yourself, you may be able to copy those sources files across to Linux and rebuild there to save a download. But would seem you might as well re-fetch the sources under Linux anyway.

      1 Reply Last reply
      3
      • A Offline
        A Offline
        Agron
        wrote on last edited by
        #3

        A lot of Linux distros come with Qt. Especially the ones with KDE because the entire KDE Desktop Environment is made in Qt.

        However, it is best you download a separate Qt (source code) into some private subfolder in your home folder and you work on that version until you finish the project without updating the Qt framework. This way when the OS team decide to update their Qt, you are not affected. You can update your private Qt when you're ready.

        Plus, the kits that you have in your Qt Creator stay the same because they get messed up when you use the Qt from your OS and it got updated.

        1 Reply Last reply
        0
        • P Puckvox

          I'm currently using QT 6.0.2 on Windows, but I want to switch to Linux Mint XFCE. Will my current version of QT work on Linux, or do I need to redownload a linux version of QT?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Puckvox said in Switching to Linux?:

          or do I need to redownload a linux version of QT?

          Yes. Use the Qt Online Installer to install Qt versions you need.
          You will also need to install some needed packages, see https://doc.qt.io/qt-5/linux.html for details.
          I don't know why others are writing about building Qt - I doubt you need to build Qt by yourself.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          JonBJ 1 Reply Last reply
          1
          • jsulmJ jsulm

            @Puckvox said in Switching to Linux?:

            or do I need to redownload a linux version of QT?

            Yes. Use the Qt Online Installer to install Qt versions you need.
            You will also need to install some needed packages, see https://doc.qt.io/qt-5/linux.html for details.
            I don't know why others are writing about building Qt - I doubt you need to build Qt by yourself.

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @jsulm said in Switching to Linux?:

            I don't know why others are writing about building Qt - I doubt you need to build Qt by yourself.

            I should have mentioned that the OP might get a pre-built version of Qt with the OS distro.

            However, the user talked about a specific version of Qt (6.0.2), and also Mint, which I believe tends not to offer latest version of Qt with its releases.

            The user also talked about downloading a version of Qt. I have never used Qt Online Installer, only ever the version of Qt supplied with the Linux OS distro. For my own clarity going forward, could you explain: if one fetches from the Qt Online Installer, doesn't that only come with sources? Or are you saying they include downloadable binaries for (a variety of?) Linux distros??

            jsulmJ 1 Reply Last reply
            0
            • JonBJ JonB

              @jsulm said in Switching to Linux?:

              I don't know why others are writing about building Qt - I doubt you need to build Qt by yourself.

              I should have mentioned that the OP might get a pre-built version of Qt with the OS distro.

              However, the user talked about a specific version of Qt (6.0.2), and also Mint, which I believe tends not to offer latest version of Qt with its releases.

              The user also talked about downloading a version of Qt. I have never used Qt Online Installer, only ever the version of Qt supplied with the Linux OS distro. For my own clarity going forward, could you explain: if one fetches from the Qt Online Installer, doesn't that only come with sources? Or are you saying they include downloadable binaries for (a variety of?) Linux distros??

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @JonB said in Switching to Linux?:

              f one fetches from the Qt Online Installer, doesn't that only come with sources?

              You get binaries, just like on Windows/MacOS

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              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