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

Meta-Object Compiler (moc)

We already know that there are no such things as signals and slots in standard C++ code. So, how is it that by using Qt, we can have those additional capabilities in the C++ code? And that is not all. As you'll learn later on, you can even add new properties to Qt objects (called dynamic properties) and perform many other actions like that, which are not capabilities of standard C++ programming. Well, these are made available by using a Qt internal compiler called moc. Before your Qt code is actually passed on to the real C++ compiler, the moc tool processes your class headers (in our case, the mainwindow.h file) to generate the code required for enabling the Qt specific capabilities that were just mentioned. You ...

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