Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
69b5972e
Commit
69b5972e
authored
Jun 26, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed MSVC build with Qt enabled #2096
parent
a15d97b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
CMakeLists.txt
modules/highgui/CMakeLists.txt
+3
-4
No files found.
modules/highgui/CMakeLists.txt
View file @
69b5972e
...
...
@@ -84,10 +84,9 @@ if(HAVE_QT)
QT4_WRAP_CPP
(
_MOC_OUTFILES src/window_QT.h
)
list
(
APPEND HIGHGUI_LIBRARIES
${
QT_LIBRARIES
}
${
QT_QTTEST_LIBRARY
}
)
list
(
APPEND highgui_srcs src/window_QT.cpp
${
_MOC_OUTFILES
}
${
_RCC_OUTFILES
}
)
ocv_check_flag_support
(
CXX -Wno-missing-declarations HAVE_CXX_WNO_MISSING_DECLARATIONS
)
if
(
HAVE_CXX_WNO_MISSING_DECLARATIONS
)
list
(
APPEND highgui_srcs src/window_QT.cpp
${
_MOC_OUTFILES
}
${
_RCC_OUTFILES
}
)
ocv_check_flag_support
(
CXX -Wno-missing-declarations _have_flag
)
if
(
${
_have_flag
}
)
set_source_files_properties
(
${
_RCC_OUTFILES
}
PROPERTIES COMPILE_FLAGS -Wno-missing-declarations
)
endif
()
elseif
(
WIN32
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment