QtScrcpy icon indicating copy to clipboard operation
QtScrcpy copied to clipboard

Mac如何构建工程

Open TroyZhangUp opened this issue 2 years ago • 1 comments

mac 构建版本老是报错 ,有成功的大佬能分享下吗 QT版本5.15.2 Xcode 14 error: Multiple commands produce '/Users/xxx/Downloads/QtScrcpy-dev/output/x64/Debug/QtScrcpy.app/Contents' note: CreateBuildDirectory /Users/xxx/Downloads/QtScrcpy-dev/output/x64/Debug/QtScrcpy.app/Contents note: Target 'QtScrcpy' (project 'all') has create directory command with output '/Users/xxx/Downloads/QtScrcpy-dev/output/x64/Debug/QtScrcpy.app/Contents' note: Run script build phase 'Generate QtScrcpy/CMakeFiles/QtScrcpy_autogen' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'QtScrcpy_autogen' from project 'all') note: Run script build phase 'CMake PostBuild Rules' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'QtScrcpyCore' from project 'all') note: Run script build phase 'Generate CMakeFiles/ZERO_CHECK' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ZERO_CHECK' from project 'all') note: Run script build phase 'Generate QtScrcpy/QtScrcpyCore/CMakeFiles/QtScrcpyCore_autogen' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'QtScrcpyCore_autogen' from project 'all') note: Run script build phase 'Generate CMakeFiles/ALL_BUILD' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'ALL_BUILD' from project 'all') note: Run script build phase 'CMake PostBuild Rules' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'QtScrcpy' from project 'all') warning: duplicate output file '/Users/xxx/Downloads/QtScrcpy-dev/output/x64/Debug/QtScrcpy.app/Contents' on task: MkDir /Users/xxx/Downloads/QtScrcpy-dev/output/x64/Debug/QtScrcpy.app/Contents (in target 'QtScrcpy' from project 'all')

TroyZhangUp avatar Nov 13 '23 09:11 TroyZhangUp

@barry-ran 可以看下么,想问下支持 mac 构建么?apple 芯片

Nayuta403 avatar Apr 13 '25 05:04 Nayuta403

能编译了吗?

evlon avatar Jun 24 '25 06:06 evlon

能了

barry-ran avatar Jun 24 '25 06:06 barry-ran