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. Simplest way to install Qt in Ubuntu (19.10) with MySQL driver?
Forum Updated to NodeBB v4.3 + New Features

Simplest way to install Qt in Ubuntu (19.10) with MySQL driver?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
28 Posts 4 Posters 6.8k Views 2 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.
  • jsulmJ jsulm

    @JonB said in Simplest way to install Qt in Ubuntu (19.10) with MySQL driver?:

    can I still do that

    Yes, the prebuild Qt provided by Ubuntu should have everything you need (but I did not yet use any of 19.x Ubuntu).

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

    @jsulm
    That's great. Then at least the OP knows that if he is happy with the Qt version in the 19.10 distro has has the option of doing it all with no compiling etc. Having said that, his latest may imply he is now progressing OK with what he has, which is equally fine.

    1 Reply Last reply
    0
    • E Offline
      E Offline
      enne9
      wrote on last edited by enne9
      #22

      The make compilation completed successfully but make install terminates with the error

      g++: error: /home/enrico/Qt5.14.1/5.14.1/Src/qtvirtualkeyboard/lib/libqtopenwnn.a: No such file or directory
      

      Any idea?

      1 Reply Last reply
      0
      • E Offline
        E Offline
        enne9
        wrote on last edited by enne9
        #23

        I have just noticed that I have used make instead of qmake. Is that the problem?

        Should I repeat the whole process using qmake and, if this is the case, should I clean run a make clean before?
        Thanks

        An update: now the error is

        Error copying ../../../lib/libQt5Bootstrap.a to /usr/local/Qt-5.14.1/lib/libQt5Bootstrap.a: Destination file exists
        
        
        jsulmJ 1 Reply Last reply
        0
        • E enne9

          I have just noticed that I have used make instead of qmake. Is that the problem?

          Should I repeat the whole process using qmake and, if this is the case, should I clean run a make clean before?
          Thanks

          An update: now the error is

          Error copying ../../../lib/libQt5Bootstrap.a to /usr/local/Qt-5.14.1/lib/libQt5Bootstrap.a: Destination file exists
          
          
          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #24

          @enne9 Did you run qmake before make?
          The sequence is:

          • qmake
          • make
          • make install

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

          1 Reply Last reply
          0
          • E Offline
            E Offline
            enne9
            wrote on last edited by
            #25

            I used

            ./configure -sql-mysql
            make
            make install
            

            How can I proceed now? Do I need to clean (using which commands?) and do the operations in the order you listed?

            jsulmJ 1 Reply Last reply
            0
            • E enne9

              I used

              ./configure -sql-mysql
              make
              make install
              

              How can I proceed now? Do I need to clean (using which commands?) and do the operations in the order you listed?

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

              @enne9 As @SGaist already suggested do out of source builds, this way you will have less troubles.
              Use "make clean" to clean up.

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

              1 Reply Last reply
              0
              • E Offline
                E Offline
                enne9
                wrote on last edited by
                #27

                Isn't qmake included in ./configure -sql-mysql? I just run it and the output is the same.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #28

                  It's the first thing that gets built however, you are currently making things more complicated than necessary. You should just build the plugin using your already installed Qt rather than the full thing.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - 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