-
Notifications
You must be signed in to change notification settings - Fork 496
新手入门
zhuzichu edited this page May 6, 2023
·
30 revisions
-
在QtCreator首页点击打开项目,选择CMakeList.txt
-
打开成功后按Ctrl+R就开始编译项目
-
等编译运行,最后效果预览
-
在Clion首页点击Open,选择CMakeList.txt
-
添加编译工具,记得设置环境变量,将D:\Qt\6.4.3\msvc2019_64\bin添加到Path(Release和Debug都要设置)
-
等待加载,如下图先切换到fluetuiplguin,然后点击Edit Configurations
4.选择可执行文件example,并且添加将D:\Qt\6.4.3\msvc2019_64\bin添加到Path
5.设置完毕后点击运行
6.最后效果预览
mkdir build
cd build
cmake -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -DCMAKE_PREFIX_PATH=D:\a\FluentUI\Qt\6.4.3\msvc2019_64 -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_BUILD_TYPE=Release -GNinja ..
cmake --build . --target all --config Release --parallel