Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. qmake is not recognized as an internal or external command
Forum Updated to NodeBB v4.3 + New Features

qmake is not recognized as an internal or external command

Scheduled Pinned Locked Moved Unsolved Language Bindings
8 Posts 3 Posters 2.0k 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.
  • Z Offline
    Z Offline
    Zua90
    wrote on 8 Apr 2022, 18:31 last edited by
    #1

    Hi I'm new to using Qt and I'm having trouble building drivers

    i am using pyqt5 installed through pip install pyqt5 command

    I need to access a database creating in MariaDB and when I tried to compile I get a message "qmake is not recognized as an internal or external command" I don't know what else to do

    J 1 Reply Last reply 8 Apr 2022, 18:49
    0
    • Z Zua90
      8 Apr 2022, 18:31

      Hi I'm new to using Qt and I'm having trouble building drivers

      i am using pyqt5 installed through pip install pyqt5 command

      I need to access a database creating in MariaDB and when I tried to compile I get a message "qmake is not recognized as an internal or external command" I don't know what else to do

      J Offline
      J Offline
      JonB
      wrote on 8 Apr 2022, 18:49 last edited by
      #2

      @Zua90
      You do not want to be building the SQL drivers if possible. You just want to download the required ones if possible What platform are you on? E.g. apt-get install libqt5sql5-mysql ?

      Z 1 Reply Last reply 8 Apr 2022, 19:04
      0
      • J JonB
        8 Apr 2022, 18:49

        @Zua90
        You do not want to be building the SQL drivers if possible. You just want to download the required ones if possible What platform are you on? E.g. apt-get install libqt5sql5-mysql ?

        Z Offline
        Z Offline
        Zua90
        wrote on 8 Apr 2022, 19:04 last edited by
        #3

        @JonB i'm on w10

        J 1 Reply Last reply 8 Apr 2022, 19:07
        0
        • Z Zua90
          8 Apr 2022, 19:04

          @JonB i'm on w10

          J Offline
          J Offline
          JonB
          wrote on 8 Apr 2022, 19:07 last edited by JonB 4 Aug 2022, 19:07
          #4

          @Zua90 OK, well I don't know what instructions you are following or why you are needing/wanting to build drivers or compile stuff.

          Z 1 Reply Last reply 8 Apr 2022, 19:17
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 8 Apr 2022, 19:14 last edited by
            #5

            Hi,

            You need a Qt build that matches the series used for PyQt 5. You can use the online installer for that.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            Z 1 Reply Last reply 8 Apr 2022, 19:28
            1
            • J JonB
              8 Apr 2022, 19:07

              @Zua90 OK, well I don't know what instructions you are following or why you are needing/wanting to build drivers or compile stuff.

              Z Offline
              Z Offline
              Zua90
              wrote on 8 Apr 2022, 19:17 last edited by
              #6

              @JonB create a project in python and access the database as the instructions I'm following are:

              1-set mysql=c:\PROGRA~1\MARIAD~1.3

              2-cd c:\Users\Wilson Zua\AppData\Local\Programs\Python\Python39\Lib\site-packages\PyQt5\Qt5\plugins\sqldrivers

              3-mkdir mysql-build

              4- cd mysql-build

              so far so good. But when I put:

              qmake -- MYSQL_INCDIR=C:\PROGRA~1\MARIAD~1.3\include\mysql "MYSQL_LIBDIR=C:\PROGRA~1\MARIAD~1.3\lib" MYSQL_LIBS="-llibmariadb"

              "qmake is not recognized..."

              J 1 Reply Last reply 8 Apr 2022, 19:23
              0
              • Z Zua90
                8 Apr 2022, 19:17

                @JonB create a project in python and access the database as the instructions I'm following are:

                1-set mysql=c:\PROGRA~1\MARIAD~1.3

                2-cd c:\Users\Wilson Zua\AppData\Local\Programs\Python\Python39\Lib\site-packages\PyQt5\Qt5\plugins\sqldrivers

                3-mkdir mysql-build

                4- cd mysql-build

                so far so good. But when I put:

                qmake -- MYSQL_INCDIR=C:\PROGRA~1\MARIAD~1.3\include\mysql "MYSQL_LIBDIR=C:\PROGRA~1\MARIAD~1.3\lib" MYSQL_LIBS="-llibmariadb"

                "qmake is not recognized..."

                J Offline
                J Offline
                JonB
                wrote on 8 Apr 2022, 19:23 last edited by JonB 4 Aug 2022, 19:23
                #7

                @Zua90
                Like I said, if possible you do not want to be building anything. What you need ought be downloadable.

                Start by addressing @SGaist :

                You need a Qt build that matches the series used for PyQt 5. You can use the online installer for that.

                He knows better than I what needs to be downloaded under Windows.

                1 Reply Last reply
                0
                • S SGaist
                  8 Apr 2022, 19:14

                  Hi,

                  You need a Qt build that matches the series used for PyQt 5. You can use the online installer for that.

                  Z Offline
                  Z Offline
                  Zua90
                  wrote on 8 Apr 2022, 19:28 last edited by
                  #8

                  @SGaist Ok
                  I will try and return the result.
                  Thanks for your support

                  1 Reply Last reply
                  0

                  1/8

                  8 Apr 2022, 18:31

                  • Login

                  • Login or register to search.
                  1 out of 8
                  • First post
                    1/8
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved