Mercurial > hg > orthanc-stone
comparison Resources/CMake/QtConfiguration.cmake @ 1041:95939fa925f6
LinuxStandardBaseUic.py
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Oct 2019 17:23:27 +0200 |
parents | 14c0a29cd9ec |
children | b60d70e8b55c |
comparison
equal
deleted
inserted
replaced
1040:14c0a29cd9ec | 1041:95939fa925f6 |
---|---|
22 | 22 |
23 if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") | 23 if ("${CMAKE_SYSTEM_VERSION}" STREQUAL "LinuxStandardBase") |
24 # Linux Standard Base version 5 ships Qt 4.2.3 | 24 # Linux Standard Base version 5 ships Qt 4.2.3 |
25 include(Qt4Macros) | 25 include(Qt4Macros) |
26 | 26 |
27 set(QT_UIC_EXECUTABLE ${LSB_PATH}/bin/uic) | 27 # The script "LinuxStandardBaseUic.py" is just a wrapper around the |
28 # "uic" compiler from LSB that does not support the "<?xml ...?>" | |
29 # header that is automatically added by Qt Creator | |
30 set(QT_UIC_EXECUTABLE ${CMAKE_CURRENT_LIST_DIR}/LinuxStandardBaseUic.py) | |
31 | |
28 set(QT_MOC_EXECUTABLE ${LSB_PATH}/bin/moc) | 32 set(QT_MOC_EXECUTABLE ${LSB_PATH}/bin/moc) |
29 | 33 |
30 include_directories( | 34 include_directories( |
31 ${LSB_PATH}/include/QtCore | 35 ${LSB_PATH}/include/QtCore |
32 ${LSB_PATH}/include/QtGui | 36 ${LSB_PATH}/include/QtGui |