Skip to content

Commit 1d8a54c

Browse files
committed
m
1 parent 3008ba2 commit 1d8a54c

2 files changed

Lines changed: 61 additions & 1 deletion

File tree

QLog.pro

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,17 @@ macx: {
650650
LIBS += -L/usr/local/lib -L/opt/homebrew/lib -lhamlib -lsqlite3 -lz -L/opt/local/lib -lssl -lcrypto
651651
equals(QT_MAJOR_VERSION, 6): LIBS += -lqt6keychain
652652
equals(QT_MAJOR_VERSION, 5): LIBS += -lqt5keychain
653-
DISTFILES +=
653+
654+
# Custom Info.plist — sets a real bundle identifier
655+
# (io.github.foldynl.qlog) and declares NSLocalNetworkUsageDescription
656+
# so macOS 14+ will actually prompt for / grant LAN access (needed
657+
# for WSJT-X UDP, network rigs, rotators, etc.). Without this, qmake
658+
# generates a default Info.plist with CFBundleIdentifier =
659+
# com.yourcompany.qlog and no local-network key.
660+
QMAKE_INFO_PLIST = $$PWD/res/macos/Info.plist
661+
QMAKE_TARGET_BUNDLE_PREFIX = io.github.foldynl
662+
663+
DISTFILES += res/macos/Info.plist
654664
}
655665

656666
win32: {

res/macos/Info.plist

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleAllowMixedLocalizations</key>
6+
<true/>
7+
<key>CFBundleDevelopmentRegion</key>
8+
<string>en</string>
9+
<key>CFBundleExecutable</key>
10+
<string>@EXECUTABLE@</string>
11+
<key>CFBundleIconFile</key>
12+
<string>@ICON@</string>
13+
<key>CFBundleIdentifier</key>
14+
<string>io.github.foldynl.qlog</string>
15+
<key>CFBundleName</key>
16+
<string>QLog</string>
17+
<key>CFBundleDisplayName</key>
18+
<string>QLog</string>
19+
<key>CFBundlePackageType</key>
20+
<string>APPL</string>
21+
<key>CFBundleSignature</key>
22+
<string>????</string>
23+
<key>CFBundleShortVersionString</key>
24+
<string>@SHORT_VERSION@</string>
25+
<key>CFBundleVersion</key>
26+
<string>@FULL_VERSION@</string>
27+
<key>LSMinimumSystemVersion</key>
28+
<string>14.0</string>
29+
<key>LSApplicationCategoryType</key>
30+
<string>public.app-category.utilities</string>
31+
<key>NSHumanReadableCopyright</key>
32+
<string>Copyright © OK1MLG. Licensed under the GNU GPL v3.</string>
33+
<key>NSPrincipalClass</key>
34+
<string>NSApplication</string>
35+
<key>NSSupportsAutomaticGraphicsSwitching</key>
36+
<true/>
37+
<key>NSHighResolutionCapable</key>
38+
<true/>
39+
40+
<!--
41+
Required on macOS 14+ for QLog to talk to local-network devices
42+
(WSJT-X UDP, network rigs, FlexRadio, hamlib rigctld over the LAN,
43+
notification listeners, etc.). Without this key, sockets bound to
44+
LAN addresses fail silently and the user never sees a permission
45+
prompt.
46+
-->
47+
<key>NSLocalNetworkUsageDescription</key>
48+
<string>QLog needs local network access to communicate with WSJT-X, network-attached rigs, rotators, and other amateur-radio software running on devices on your network.</string>
49+
</dict>
50+
</plist>

0 commit comments

Comments
 (0)