diff --git a/.DS_Store b/.DS_Store index 63e907f..590313c 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/example/Info.plist b/example/Info.plist new file mode 100644 index 0000000..cf5e9dd --- /dev/null +++ b/example/Info.plist @@ -0,0 +1,11 @@ + + + + + NSAppTransportSecurity + + NSAllowsArbitraryLoads + + + + diff --git a/example/example.pro b/example/example.pro index e845f46..73d8ab6 100644 --- a/example/example.pro +++ b/example/example.pro @@ -2,6 +2,9 @@ QT += quick concurrent network multimedia CONFIG += c++11 DEFINES += QT_DEPRECATED_WARNINGS QT_NO_WARNING_OUTPUT +HEADERS += \ + ChatController.h + SOURCES += \ ChatController.cpp \ main.cpp @@ -37,5 +40,10 @@ contains(QT_ARCH, i386) { } } -HEADERS += \ - ChatController.h +qnx: target.path = /tmp/$${TARGET}/bin +else: unix:!android: target.path = /opt/$${TARGET}/bin +!isEmpty(target.path): INSTALLS += target + +mac: { + QMAKE_INFO_PLIST = Info.plist +} diff --git a/src/FluentUI.pro b/src/FluentUI.pro index 109d6c8..ffe1036 100644 --- a/src/FluentUI.pro +++ b/src/FluentUI.pro @@ -1,4 +1,4 @@ -QT += qml quick svg multimedia network +QT += qml quick svg CONFIG += plugin c++11 TEMPLATE = lib TARGET = FluentUI