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
QtWS25 Last Chance

qmake is not recognized as an internal or external command

Scheduled Pinned Locked Moved Unsolved Language Bindings
8 Posts 3 Posters 1.9k 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.
  • Z Offline
    Z Offline
    Zua90
    wrote on 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

    JonBJ 1 Reply Last reply
    0
    • Z Zua90

      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

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on 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
      0
      • JonBJ JonB

        @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 last edited by
        #3

        @JonB i'm on w10

        JonBJ 1 Reply Last reply
        0
        • Z Zua90

          @JonB i'm on w10

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by JonB
          #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
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 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
            1
            • JonBJ JonB

              @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 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..."

              JonBJ 1 Reply Last reply
              0
              • Z Zua90

                @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..."

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by JonB
                #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
                • SGaistS SGaist

                  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 last edited by
                  #8

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

                  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