Use the following lines in a .pri file that is added to your project by using “include(C:/opencv/opencv.pri)”
This allows easy including of headers and library references in a Qt project.
(Note that in case you are using another version of OpenCV, your library names might be different.)
Continue reading “Required Includes and Libraries for OpenCV in Qt”
This function can be used to get an EXE file version. I use this class in almost all of my programs to add EXE version to Main window title.
Continue reading “Get EXE version using Windows API in Qt”
Class below allows catching of Exceptions in Qt. Paste all code below into a header and use this class instead of QApplication in your main function.
Continue reading “Qt class for catching exceptions (QExSafeApplication)”