Rerun pro2cmake on projects that use .ui files
Task-number: QTBUG-75875 Change-Id: I95109b07fc4a6e09fe7911a21fc5f27f2c895d77 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Qt CMake Build Bot
This commit is contained in:
parent
0425ee0610
commit
fa21d29b75
@ -11,9 +11,11 @@ add_qt_executable(sharedmemory
|
||||
SOURCES
|
||||
dialog.cpp dialog.h dialog.ui
|
||||
main.cpp
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:sharedmemory.pro:<NONE>:
|
||||
#### Keys ignored in scope 1:.:.:sharedmemory.pro:<TRUE>:
|
||||
# EXAMPLE_FILES = "*.png"
|
||||
|
@ -16,7 +16,9 @@ add_qt_executable(chat
|
||||
org.example.chat.xml
|
||||
DBUS_INTERFACE_SOURCES
|
||||
org.example.chat.xml
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::DBus
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
@ -13,7 +13,9 @@ add_qt_executable(controller
|
||||
main.cpp
|
||||
DBUS_INTERFACE_SOURCES
|
||||
car.xml
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::DBus
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
@ -11,9 +11,11 @@ add_qt_executable(flightinfo
|
||||
SOURCES
|
||||
flightinfo.cpp
|
||||
form.ui
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
@ -21,5 +23,5 @@ add_qt_resource(flightinfo "flightinfo" PREFIX "/" FILES
|
||||
aircraft.png)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:flightinfo.pro:<NONE>:
|
||||
#### Keys ignored in scope 1:.:.:flightinfo.pro:<TRUE>:
|
||||
# TEMPLATE = "app"
|
||||
|
@ -11,8 +11,10 @@ add_qt_executable(styleexample
|
||||
SOURCES
|
||||
main.cpp
|
||||
stylewidget.cpp stylewidget.h stylewidget.ui
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
|
@ -13,19 +13,21 @@ add_qt_executable(bearermonitor
|
||||
bearermonitor_640_480.ui
|
||||
main.cpp
|
||||
sessionwidget.cpp sessionwidget.h sessionwidget.ui
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Network
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:bearermonitor.pro:<NONE>:
|
||||
#### Keys ignored in scope 1:.:.:bearermonitor.pro:<TRUE>:
|
||||
# CONFIG = "console"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(bearermonitor CONDITION WIN32
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
ws2_32
|
||||
)
|
||||
|
@ -12,7 +12,9 @@ add_qt_executable(http
|
||||
authenticationdialog.ui
|
||||
httpwindow.cpp httpwindow.h
|
||||
main.cpp
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
@ -15,7 +15,9 @@ add_qt_executable(network-chat
|
||||
main.cpp
|
||||
peermanager.cpp peermanager.h
|
||||
server.cpp server.h
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Network
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
@ -14,11 +14,12 @@ add_qt_executable(books
|
||||
initdb.h
|
||||
main.cpp
|
||||
INCLUDE_DIRECTORIES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
LIBRARIES
|
||||
.
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Sql
|
||||
Qt::Widgets
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
@ -26,5 +27,5 @@ add_qt_resource(books "books" PREFIX "/" FILES
|
||||
images/star.png)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:books.pro:<NONE>:
|
||||
#### Keys ignored in scope 1:.:.:books.pro:<TRUE>:
|
||||
# TEMPLATE = "app"
|
||||
|
@ -14,16 +14,18 @@ add_qt_executable(sqlbrowser
|
||||
connectionwidget.cpp connectionwidget.h
|
||||
main.cpp
|
||||
qsqlconnectiondialog.cpp qsqlconnectiondialog.h qsqlconnectiondialog.ui
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Sql
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:sqlbrowser.pro:<NONE>:
|
||||
#### Keys ignored in scope 1:.:.:sqlbrowser.pro:<TRUE>:
|
||||
# TEMPLATE = "app"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 2:.:sqlbrowser.pro:build_all AND NOT build_pass:
|
||||
#### Keys ignored in scope 2:.:.:sqlbrowser.pro:build_all AND NOT build_pass:
|
||||
# CONFIG = "-build_all" "release"
|
||||
|
@ -13,8 +13,10 @@ add_qt_executable(easing
|
||||
form.ui
|
||||
main.cpp
|
||||
window.cpp window.h
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
|
@ -12,8 +12,10 @@ add_qt_executable(embeddeddialogs
|
||||
customproxy.cpp customproxy.h
|
||||
embeddeddialog.cpp embeddeddialog.h embeddeddialog.ui
|
||||
main.cpp
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
@ -24,5 +26,5 @@ add_qt_resource(embeddeddialogs "embeddeddialogs" FILES
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 2:.:embeddeddialogs.pro:build_all AND NOT build_pass:
|
||||
#### Keys ignored in scope 2:.:.:embeddeddialogs.pro:build_all AND NOT build_pass:
|
||||
# CONFIG = "-build_all" "release"
|
||||
|
@ -14,8 +14,10 @@ add_qt_executable(padnavigator
|
||||
padnavigator.cpp padnavigator.h
|
||||
roundrectitem.cpp roundrectitem.h
|
||||
splashitem.cpp splashitem.h
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
@ -31,13 +33,13 @@ add_qt_resource(padnavigator "padnavigator" FILES
|
||||
images/minitools.png)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:padnavigator.pro:<NONE>:
|
||||
#### Keys ignored in scope 1:.:.:padnavigator.pro:<TRUE>:
|
||||
# CONFIG = "console"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(padnavigator CONDITION TARGET Qt::OpenGL
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::OpenGL
|
||||
)
|
||||
|
@ -13,8 +13,10 @@ add_qt_executable(editabletreemodel
|
||||
mainwindow.cpp mainwindow.h mainwindow.ui
|
||||
treeitem.cpp treeitem.h
|
||||
treemodel.cpp treemodel.h
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
|
@ -12,14 +12,16 @@ add_qt_executable(fontsampler
|
||||
main.cpp
|
||||
mainwindow.cpp mainwindow.h
|
||||
mainwindowbase.ui
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(fontsampler CONDITION TARGET Qt::PrintSupport
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::PrintSupport
|
||||
)
|
||||
|
@ -13,8 +13,10 @@ add_qt_executable(undo
|
||||
document.cpp document.h
|
||||
main.cpp
|
||||
mainwindow.cpp mainwindow.h mainwindow.ui
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
@ -40,5 +42,5 @@ add_qt_resource(undo "undo" PREFIX "/" FILES
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
#### Keys ignored in scope 2:.:undo.pro:build_all AND NOT build_pass:
|
||||
#### Keys ignored in scope 2:.:.:undo.pro:build_all AND NOT build_pass:
|
||||
# CONFIG = "-build_all" "release"
|
||||
|
@ -11,6 +11,8 @@ add_qt_executable(dials
|
||||
SOURCES
|
||||
dials.ui
|
||||
main.cpp
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
49
examples/widgets/tutorials/notepad/.prev_CMakeLists.txt
Normal file
49
examples/widgets/tutorials/notepad/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,49 @@
|
||||
# Generated from notepad.pro.
|
||||
|
||||
#####################################################################
|
||||
## notepad Binary:
|
||||
#####################################################################
|
||||
|
||||
add_qt_executable(notepad
|
||||
GUI
|
||||
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/notepad"
|
||||
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/tutorials/notepad"
|
||||
SOURCES
|
||||
main.cpp
|
||||
notepad.cpp notepad.h notepad.ui
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
add_qt_resource(notepad "notepad" PREFIX "/" FILES
|
||||
images/bold.png
|
||||
images/copy.png
|
||||
images/create.png
|
||||
images/cut.png
|
||||
images/edit_redo.png
|
||||
images/edit_undo.png
|
||||
images/exit.png
|
||||
images/font.png
|
||||
images/info.png
|
||||
images/italic.png
|
||||
images/new.png
|
||||
images/open.png
|
||||
images/paste.png
|
||||
images/pencil.png
|
||||
images/print.png
|
||||
images/save.png
|
||||
images/save_as.png
|
||||
images/underline.png)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:.:notepad.pro:<TRUE>:
|
||||
# TEMPLATE = "app"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(notepad CONDITION TARGET Qt::PrintSupport
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::PrintSupport
|
||||
)
|
@ -11,8 +11,10 @@ add_qt_executable(notepad
|
||||
SOURCES
|
||||
main.cpp
|
||||
notepad.cpp notepad.h notepad.ui
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
LIBRARIES # special case
|
||||
Qt::Widgets
|
||||
Qt::Widgets # special case
|
||||
)
|
||||
|
||||
# Resources:
|
||||
@ -37,13 +39,13 @@ add_qt_resource(notepad "notepad" PREFIX "/" FILES
|
||||
images/underline.png)
|
||||
|
||||
|
||||
#### Keys ignored in scope 1:.:notepad.pro:<NONE>:
|
||||
#### Keys ignored in scope 1:.:.:notepad.pro:<TRUE>:
|
||||
# TEMPLATE = "app"
|
||||
|
||||
## Scopes:
|
||||
#####################################################################
|
||||
|
||||
extend_target(notepad CONDITION TARGET Qt::PrintSupport
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::PrintSupport
|
||||
)
|
||||
|
@ -12,8 +12,10 @@ add_qt_executable(stylesheet
|
||||
main.cpp
|
||||
mainwindow.cpp mainwindow.h mainwindow.ui
|
||||
stylesheeteditor.cpp stylesheeteditor.h stylesheeteditor.ui
|
||||
LIBRARIES
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
|
@ -16,6 +16,8 @@ add_qt_executable(validators
|
||||
validatorwidget.cpp validatorwidget.h
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
|
@ -235,8 +235,6 @@ add_qt_module(Core
|
||||
WrapDoubleConversion::WrapDoubleConversion # special case
|
||||
PUBLIC_LIBRARIES # special case:
|
||||
Qt::Platform # special case:
|
||||
DISABLE_AUTOGEN_TOOLS # special case:
|
||||
uic # special case:
|
||||
DISABLE_TOOLS_EXPORT # special case:
|
||||
)
|
||||
|
||||
|
@ -68,6 +68,8 @@ extend_target(PrintSupport CONDITION QT_FEATURE_cups AND UNIX AND NOT APPLE
|
||||
extend_target(PrintSupport CONDITION QT_FEATURE_cupsjobwidget AND UNIX AND NOT APPLE
|
||||
SOURCES
|
||||
widgets/qcupsjobwidget.cpp widgets/qcupsjobwidget.ui widgets/qcupsjobwidget_p.h
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
extend_target(PrintSupport CONDITION QT_FEATURE_printdialog
|
||||
@ -76,6 +78,8 @@ extend_target(PrintSupport CONDITION QT_FEATURE_printdialog
|
||||
dialogs/qpagesetupdialog.cpp dialogs/qpagesetupdialog.h dialogs/qpagesetupdialog_p.h
|
||||
dialogs/qpagesetupwidget.ui
|
||||
dialogs/qprintdialog.h
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
# Resources:
|
||||
@ -138,6 +142,8 @@ extend_target(PrintSupport CONDITION QT_FEATURE_printdialog AND UNIX AND NOT APP
|
||||
dialogs/qprintwidget.ui
|
||||
INCLUDE_DIRECTORIES
|
||||
${PROJECT_SOURCE_DIR}/src/plugins/printsupport/cups
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
extend_target(PrintSupport CONDITION QT_FEATURE_printpreviewdialog
|
||||
|
@ -34,8 +34,6 @@ add_qt_tool(uic
|
||||
cpp
|
||||
# ${CMAKE_CURRENT_BINARY_DIR} # special case: remove
|
||||
python
|
||||
DISABLE_AUTOGEN_TOOLS # special case:
|
||||
uic rcc
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:uic.pro:<TRUE>:
|
||||
|
@ -586,6 +586,8 @@ extend_target(Widgets CONDITION QT_FEATURE_filedialog
|
||||
SOURCES
|
||||
dialogs/qfiledialog.cpp dialogs/qfiledialog.h dialogs/qfiledialog.ui dialogs/qfiledialog_p.h
|
||||
dialogs/qsidebar.cpp dialogs/qsidebar_p.h
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
extend_target(Widgets CONDITION QT_FEATURE_filesystemmodel
|
||||
|
@ -590,6 +590,8 @@ extend_target(Widgets CONDITION QT_FEATURE_filedialog
|
||||
SOURCES
|
||||
dialogs/qfiledialog.cpp dialogs/qfiledialog.h dialogs/qfiledialog.ui dialogs/qfiledialog_p.h
|
||||
dialogs/qsidebar.cpp dialogs/qsidebar_p.h
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
extend_target(Widgets CONDITION QT_FEATURE_filesystemmodel
|
||||
|
@ -1,10 +1,24 @@
|
||||
add_qt_test("tst_qgridlayout"
|
||||
# Generated from qgridlayout.pro.
|
||||
|
||||
#####################################################################
|
||||
## tst_qgridlayout Test:
|
||||
#####################################################################
|
||||
|
||||
add_qt_test(tst_qgridlayout
|
||||
SOURCES
|
||||
sortdialog.ui
|
||||
tst_qgridlayout.cpp
|
||||
LIBRARIES
|
||||
Qt::WidgetsPrivate
|
||||
Qt::CorePrivate
|
||||
Qt::GuiPrivate
|
||||
Qt::TestPrivate
|
||||
Qt::WidgetsPrivate
|
||||
PUBLIC_LIBRARIES
|
||||
Qt::Gui
|
||||
Qt::Widgets
|
||||
ENABLE_AUTOGEN_TOOLS
|
||||
uic
|
||||
)
|
||||
|
||||
#### Keys ignored in scope 1:.:.:qgridlayout.pro:<TRUE>:
|
||||
# CONFIG = "testcase"
|
||||
|
Loading…
x
Reference in New Issue
Block a user