Skip to content

Commit

Permalink
feat: Qt 4.7.5 权限配置 (#250)
Browse files Browse the repository at this point in the history
* feat(meeting): update meetingkit 4.4.0

* feat(meeting): update Android meeting kit 4.5.0

* feat(meeting): clean code

* feat(meeting): update Android meeting kit 4.5.1

* feat: update meeting kit Windows&macOS 4.7.0

* feat: update meeting kit Windows&macOS 4.7.0 ++

* feat: clean code

* feat:配置QT 应用权限示例

* feat:配置QT 应用权限示例

---------

Co-authored-by: zhaochong01 <[email protected]>
  • Loading branch information
smartzhao and zhaochong01 authored Aug 19, 2024
1 parent f30f3ba commit df88e79
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ set_target_properties(meeting_sdk_example_qt PROPERTIES
MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
MACOSX_BUNDLE TRUE
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE_INFO_PLIST ./MacOSXBundleInfo.plist.in
)

include(GNUInstallDirs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>MeetingSample</string>
<string>MeetingSDKExampleQt</string>
<key>CFBundleExecutable</key>
<string>MeetingSample</string>
<string>MeetingSDKExampleQt</string>
<key>CFBundleIconFile</key>
<string>macx.icns</string>
<key>CFBundleIdentifier</key>
<string>com.netease.nmc.MeetingSample</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>1.0</string>
<key>CFBundleName</key>
<string>NetEaseMeetingSample</string>
<string>MeetingSDKExampleQt</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
Expand Down
3 changes: 2 additions & 1 deletion SampleCode/Windows_macOS/meeting_sdk_example_qt/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ if exist "meeting_sdk_example_qt" (
rmdir /s /q "meeting_sdk_example_qt"
)

:: 设置你的QT_PATH
:: Qt环境替换成本地Qt环境
cmake -Bmeeting_sdk_example_qt -DCMAKE_GENERATOR_PLATFORM=x64 -DCMAKE_PREFIX_PATH=D:\Qt\6.7.2\msvc2019_64
cmake --build meeting_sdk_example_qt --config Release

xcopy /E /I /Y "SDK\BIN\*" "..\meeting_sdk_example_qt\Release\"
set QT_windeployqt=%QT_PLUGIN_PATH%\..\..\bin\windeployqt.exe
set QT_windeployqt=D:\Qt\6.7.2\msvc2019_64\bin\windeployqt.exe
call %QT_windeployqt% .\meeting_sdk_example_qt\Release\meeting_sdk_example_qt.exe
6 changes: 1 addition & 5 deletions SampleCode/Windows_macOS/meeting_sdk_example_qt/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
rm -rf meeting_sdk_example_qt
#Qt环境替换成本地Qt环境
Qt=~/Qt/6.5.3/macos
#cmake -Bmeeting_sample \
# -DCMAKE_BUILD_TYPE=Release \
# -DCMAKE_OSX_ARCHITECTURES=x86_64 \
# -DCMAKE_PREFIX_PATH=~/meeting_sdk_example_qt/6.5.3/macos

cmake -Bmeeting_sdk_example_qt \
-DCMAKE_BUILD_TYPE=Release \
Expand All @@ -17,7 +13,7 @@ cmake -Bmeeting_sdk_example_qt \
cmake --build meeting_sdk_example_qt --config Release

# 如果需要打包,则需要执行以下命令:并且要签名
# ${Qt}/bin/macdeployqt6 meeting_sdk_example_qt/meeting_sdk_example_qt.app
${Qt}/bin/macdeployqt6 meeting_sdk_example_qt/meeting_sdk_example_qt.app
# codesign --timestamp --options=runtime -f -s "你的签名ID" -v meeting_sdk_example_qt/meeting_sdk_example_qt.app --deep
# 启动Sample
./meeting_sdk_example_qt/meeting_sdk_example_qt.app/Contents/MacOS/meeting_sdk_example_qt

0 comments on commit df88e79

Please sign in to comment.