qmake is not recognized as an internal or external command
-
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
-
Hi,
You need a Qt build that matches the series used for PyQt 5. You can use the online installer for that.
-
@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..."
-
@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.