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. QT on Linux Mint 18.1 installation
Forum Updated to NodeBB v4.3 + New Features

QT on Linux Mint 18.1 installation

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 3 Posters 1.9k 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.
  • J Offline
    J Offline
    jp123
    wrote on last edited by
    #1

    This was not a fun installation. It would have been nice to have minimum system requirements list to be able to build and execute.
    I had to search internet 3 times to find the modules that were missing and had to be installed to get QT to work.
    g++ and set build to point to it instead of gcc
    mesa-common-dev
    libglu1-mesa-dev

    and that was just to get the demobrowser to build and run.

    I hate to be negative, but I could not see any documentation that listed required modules to be able to run QT which most software groups provide and QT is greatly lacking.

    If I am wrong, I am sorry and please direct me to the implicate place where this information resides.
    Otherwise, this is an area you need to greatly improve.

    A jsulmJ 2 Replies Last reply
    0
    • J jp123

      This was not a fun installation. It would have been nice to have minimum system requirements list to be able to build and execute.
      I had to search internet 3 times to find the modules that were missing and had to be installed to get QT to work.
      g++ and set build to point to it instead of gcc
      mesa-common-dev
      libglu1-mesa-dev

      and that was just to get the demobrowser to build and run.

      I hate to be negative, but I could not see any documentation that listed required modules to be able to run QT which most software groups provide and QT is greatly lacking.

      If I am wrong, I am sorry and please direct me to the implicate place where this information resides.
      Otherwise, this is an area you need to greatly improve.

      A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      @jp123 Qt is a massive library. But even being huge and providing all the features it does, it is still a very easy install.

      You can literally just run the online installer and it will put a binary version in a directory of your choosing. No external dependencies other than a basic development environment.

      If you build from source there are definitely some external dependencies but they are quite clear in the output of ./configure. You can even turn them on and off with the configure command.

      I have done it from source and binary install many many many times in linux, osx, and windows using both mingw and VS. The windows builds can be quite tricky but rarely are the linux builds tough.

      It also sounds like you have some sort of issue with your dev environment as you should not need to point gcc->g++. That should happen automatically when gcc encounters cpp files unless you didn't have the g++ side installed.

      From the sounds of it you didn't have a development environment set up on your system. I haven't used mint before but in gentoo it comes presetup since gentoo is a hardcore source only distribution. My new preferred linux is arch, which you have to run pacman -Sy base-devel before you try building things. Perhaps there is something similar in mint that you missed?

      I'd recommend the binary installation next time as it is standalone. Although you'll still need a development env to actually use it after it's installed. But it should take away the headache you experienced.

      I've been writing Qt software for about 16 years, and professionally for the last 12, so maybe it just seems easy to me. But I've encountered a LOT harder installs in my career than Qt. With the occasional yuckiness that is source builds in windows with Qt. That can get downright ugly sometimes but it is more of a mingw problem than a Qt one.

      Oh and finally, here is the document you wanted with all the requirements for each platform including linux and even embedded linux.

      http://doc.qt.io/qt-5/build-sources.html

      This is for source builds only, again binary should just install and work.

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      2
      • J jp123

        This was not a fun installation. It would have been nice to have minimum system requirements list to be able to build and execute.
        I had to search internet 3 times to find the modules that were missing and had to be installed to get QT to work.
        g++ and set build to point to it instead of gcc
        mesa-common-dev
        libglu1-mesa-dev

        and that was just to get the demobrowser to build and run.

        I hate to be negative, but I could not see any documentation that listed required modules to be able to run QT which most software groups provide and QT is greatly lacking.

        If I am wrong, I am sorry and please direct me to the implicate place where this information resides.
        Otherwise, this is an area you need to greatly improve.

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

        @jp123 Regarding mesa-common-dev and libglu1-mesa-dev: there are many different Linux distributions and they package same software in defferent ways. It is hard to document needed packages for Qt on Linux.
        For example mesa-common-dev/libglu1-mesa-dev - this are the packages you need to install on Ubuntu/Mint and probably on Debian. But that does not mean that on other distributions those packages are named in the same way.
        g++ is needed as Qt is a C++ framework.
        "g++ and set build to point to it instead of gcc" - never had such an issue (on Ubuntu).

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

        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