New functions with QT GUI:
Fixed memory leak Disable QT by default
This commit is contained in:
parent
c007b60b25
commit
bd643ad550
@ -496,7 +496,7 @@ endif()
|
||||
############################### QT ################################
|
||||
set(HAVE_QT 0)
|
||||
set(HAVE_QT_OPENGL 0)
|
||||
set(AUTOSWITCH_QT 1)#uses to disable QT
|
||||
set(AUTOSWITCH_QT 0)#uses to disable QT
|
||||
|
||||
find_package(Qt4)# QUIET)
|
||||
if (QT4_FOUND AND AUTOSWITCH_QT)
|
||||
|
@ -781,6 +781,14 @@ CvWindow::~CvWindow()
|
||||
delete layout;
|
||||
}
|
||||
|
||||
|
||||
delete shortcutZ;
|
||||
delete shortcutPlus;
|
||||
delete shortcutMinus;
|
||||
delete shortcutLeft;
|
||||
delete shortcutRight;
|
||||
delete shortcutUp;
|
||||
delete shortcutDown;
|
||||
}
|
||||
|
||||
void CvWindow::displayInfo(QString text,int delayms)
|
||||
|
Loading…
x
Reference in New Issue
Block a user