This commit is contained in:
朱子楚 2023-03-25 22:46:15 +08:00
parent 5e61af99ba
commit dae49a5bfc
4 changed files with 22 additions and 3 deletions

BIN
.DS_Store vendored

Binary file not shown.

11
example/Info.plist Normal file
View File

@ -0,0 +1,11 @@
<?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>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>

View File

@ -2,6 +2,9 @@ QT += quick concurrent network multimedia
CONFIG += c++11 CONFIG += c++11
DEFINES += QT_DEPRECATED_WARNINGS QT_NO_WARNING_OUTPUT DEFINES += QT_DEPRECATED_WARNINGS QT_NO_WARNING_OUTPUT
HEADERS += \
ChatController.h
SOURCES += \ SOURCES += \
ChatController.cpp \ ChatController.cpp \
main.cpp main.cpp
@ -37,5 +40,10 @@ contains(QT_ARCH, i386) {
} }
} }
HEADERS += \ qnx: target.path = /tmp/$${TARGET}/bin
ChatController.h else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
mac: {
QMAKE_INFO_PLIST = Info.plist
}

View File

@ -1,4 +1,4 @@
QT += qml quick svg multimedia network QT += qml quick svg
CONFIG += plugin c++11 CONFIG += plugin c++11
TEMPLATE = lib TEMPLATE = lib
TARGET = FluentUI TARGET = FluentUI