Skip to Content
Computer Vision with OpenCV 3 and Qt5
book

Computer Vision with OpenCV 3 and Qt5

by Amin Ahmadi Tazehkandi
January 2018
Intermediate to advanced content levelIntermediate to advanced
486 pages
11h 28m
English
Packt Publishing
Content preview from Computer Vision with OpenCV 3 and Qt5

User Interface Compiler (uic)

Whenever a Qt application with a user interface is built, a Qt internal tool called uic is executed to process and convert the *.ui files into classes and source code usable in C++ code. In our case, mainwindow.h is converted to the ui_mainwindow.h file, which again, you can find in the Build folder. You may have already noticed this, but let's mention that your mainwindow.cpp file already included this header file. Check the topmost part of the file, and you'll find the following two include lines:

    #include "mainwindow.h" 
    #include "ui_mainwindow.h" 

You already knew what and where the mainwindow.h file is (in your Project folder), and you just learned that ui_mainwindow.h is, in fact, a generated source file ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering OpenCV 4 - Third Edition

Mastering OpenCV 4 - Third Edition

Roy Shilkrot, David Millán Escrivá
Hands-On Computer Vision with TensorFlow 2

Hands-On Computer Vision with TensorFlow 2

Benjamin Planche, Eliot Andres
OpenCV 4 with Python Blueprints - Second Edition

OpenCV 4 with Python Blueprints - Second Edition

Dr. Menua Gevorgyan, Michael Beyeler (USD), Arsen Mamikonyan, Michael Beyeler

Publisher Resources

ISBN: 9781788472395Supplemental Content