Install and configure Qt with OpenCV
Revision as of 09:23, 18 August 2019 by Admin (talk | contribs) (→Install Qt with OpenCV (Windows 10))
Install Qt with OpenCV (Windows 10)
Download and install the file
qt-unified-windows-x86-3.1.1-online.exe
During installation (or you can restart the installation wizard from the Control Panel - Programs and Functionalities, select the following:
MinGW 7.3.0 64 bit Qt 5.13.0 64 bit
To test the environment, go to File - New File or Project, then select 'Qt Console Application'. Give it a name, and leave the default build System 'qmake'.
In the next screen, deselect the default Kit, and instead, select the previously installed MinGW 7.3.0 64 bit.
Then, modify the main.cpp file in order to have this:
#include <QCoreApplication> #include <QDebug> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); qDebug() << "Hello World"; return a.exec(); }
Click on the debug icon. It should appear a text window with the output.