Qt开发之旅

CMake 命令参考

2022-04-25  本文已影响0人  秋冬不寒

CMake Command Reference

Qt5::Core

命令 说明
qt5_add_big_resources Compiles big binary resources into object code
qt5_add_binary_resources Creates an RCC file from a list of Qt resource files
qt5_add_resources Compiles binary resources into source code
qt5_generate_moc Calls moc on an input file
qt5_import_plugins Specifies a custom set of plugins to import for a static Qt build
qt5_wrap_cpp Creates .moc files from sources
qt_add_big_resources Compiles big binary resources into object code
qt_add_binary_resources Creates an RCC file from a list of Qt resource files
qt_add_resources Compiles binary resources into source code
qt_generate_moc Calls moc on an input file
qt_import_plugins Specifies a custom set of plugins to import for a static Qt build
qt_wrap_cpp Creates .moc files from sources

Qt5::LinguistTools

命令 说明
qt5_add_translation Compiles Qt Linguist .ts files into .qm files
qt5_create_translation Sets up the Qt Linguist translation toolchain

Qt5::RemoteObjects

命令 说明
qt5_generate_repc Creates a C++ type from a Qt Remote Objects .rep file

Qt5::Widgets

命令 说明
qt5_wrap_ui Creates sources for .ui files
qt_wrap_ui Creates sources for .ui files
上一篇下一篇

猜你喜欢

热点阅读