Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
JPSvis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JuPedSim
JPSvis
Commits
0f0f53fa
Commit
0f0f53fa
authored
9 years ago
by
Mohcine Chraibi
Browse files
Options
Downloads
Patches
Plain Diff
remove comments
parent
f324d9a2
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+0
-43
0 additions, 43 deletions
CMakeLists.txt
with
0 additions
and
43 deletions
CMakeLists.txt
+
0
−
43
View file @
0f0f53fa
...
...
@@ -208,49 +208,6 @@ ENDIF (WIN32)
#--------------- here comes QT. Version problem (4 or 5?)
# cmake does not provide findqt5-modules
#=================================================== Qt4
# FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake REQUIRED)
# FIND_PACKAGE(Qt COMPONENTS QtXml QT_USE_QTNETWORK QtXmlPatterns REQUIRED)
# if("${DESIRED_QT_VERSION}" STREQUAL "")
# set(DESIRED_QT_VERSION "4")
# endif()
# if( ${DESIRED_QT_VERSION} VERSION_GREATER "4" OR ${DESIRED_QT_VERSION} VERSION_LESS "3")
# message(WARNING "QT version: " ${DESIRED_QT_VERSION} " not supported")
# endif()
# message(STATUS "DESIRED_QT_VERSION " ${DESIRED_QT_VERSION})
# message(STATUS "QT5_INSTALLED: " ${QT5_INSTALLED})
# message(STATUS "QT4_INSTALLED: " ${QT4_INSTALLED})
# message(STATUS "QT3_INSTALLED: " ${QT3_INSTALLED})
# # by default only QtCore and QtGui modules are enabled
# # other modules must be enabled like this:
# set(QT_USE_QTXML TRUE) # needed!
# set(QT_USE_QTNETWORK TRUE)
# # this command will generate rules that will run rcc on all files from SAMPLE_RCS
# # in result SAMPLE_RC_SRCS variable will contain paths to files produced by rcc
# if( ${QT4_INSTALLED} )
# message(STATUS "Working with Qt4")
# QT4_ADD_RESOURCES( SAMPLE_RC_SRCS ${SAMPLE_RCS} )
# # and finally this will run moc:
# QT4_WRAP_CPP( SAMPLE_MOC_HDRS ${SAMPLE_MOC_HDRS} )
# # this will run uic on .ui files:
# QT4_WRAP_UI( SAMPLE_UI_HDRS ${SAMPLE_UIS} )
# # QT4_ADD_RESOURCES(SAMPLE_RESOURCES_RCS ${SAMPLE_RCS})
# # add some useful macros and variables
# # (QT_USE_FILE is a variable defined by FIND_PACKAGE( Qt4 ) that contains a path to CMake script)
# include( ${QT_USE_FILE} )
# elseif( ${QT5_INSTALLED} )
# message(STATUS "Working with Qt5")
# find_package(Qt5Widgets REQUIRED)
# qt5_wrap_ui(SAMPLE_UI_HDRS ${SAMPLE_UIS})
# endif()
#==================================================== QT4
message
(
STATUS
"QT_Qmake_executable "
${
QT_QMAKE_EXECUTABLE
}
)
if
(
$QT_QMAKE_EXECUTABLE STREQUAL
""
)
FIND_PROGRAM
(
QT_QMAKE_EXECUTABLE NAMES qmake
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment