mirror of
https://gitlab.com/eql/lqml.git
synced 2026-04-30 00:41:31 -07:00
example 'meshtastic': fix macOS version
This commit is contained in:
parent
40af793f6b
commit
4c39d57633
3 changed files with 35 additions and 2 deletions
|
|
@ -46,6 +46,10 @@ linux: LIBS += -L../../../platforms/linux/lib
|
|||
macx: LIBS += -L../../../platforms/macos/lib
|
||||
win32: LIBS += -L../../../platforms/windows/lib
|
||||
|
||||
macx {
|
||||
QMAKE_INFO_PLIST = platforms/macos/Info.plist
|
||||
}
|
||||
|
||||
win32 {
|
||||
LIBS += -lws2_32
|
||||
|
||||
|
|
|
|||
26
examples/meshtastic/platforms/macos/Info.plist
Normal file
26
examples/meshtastic/platforms/macos/Info.plist
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>${EXECUTABLE_NAME}</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>${ASSETCATALOG_COMPILER_APPICON_NAME}</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>${QMAKE_PKGINFO_TYPEINFO}</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
|
||||
<key>NOTE</key>
|
||||
<string>This file was generated by Qt/QMake.</string>
|
||||
<key>NSPrincipalClass</key>
|
||||
<string>NSApplication</string>
|
||||
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
||||
<true/>
|
||||
<key>NSBluetoothAlwaysUsageDescription</key>
|
||||
<string>For connecting to meshtastic radio devices.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
@ -51,8 +51,11 @@ dependency of cl-sqlite) currently needs a small hack to even work on mobile.
|
|||
Tested
|
||||
------
|
||||
|
||||
Tested on Linux, macOS, android, iOS. The macOS version shows an ECL exception
|
||||
during BLE ini, but works nevertheless.
|
||||
Tested on Linux, macOS, android, iOS.
|
||||
|
||||
The macOS version must be compiled first and started from Finder (not the
|
||||
console), otherwise BLE permissions will not work (if run from console, the app
|
||||
will show a BLE exception and consume 100% CPU).
|
||||
|
||||
It should also work on Windows >= 10, but this is not tested yet.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue