diff --git a/example/Info.plist b/example/Info.plist new file mode 100644 index 00000000..23f254d2 --- /dev/null +++ b/example/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleExecutable + example + CFBundleIconFile + + CFBundleIdentifier + com.yourcompany.example + CFBundlePackageType + APPL + CFBundleSignature + ???? + LSMinimumSystemVersion + 10.14 + NOTE + This file was generated by Qt/QMake. + NSPrincipalClass + NSApplication + NSSupportsAutomaticGraphicsSwitching + + CFBundleDevelopmentRegion + en + CFBundleAllowMixedLocalizations + + + diff --git a/example/example.pro b/example/example.pro index e06f4a6e..3212a08c 100644 --- a/example/example.pro +++ b/example/example.pro @@ -1,6 +1,6 @@ QT += quick concurrent network multimedia CONFIG += c++11 - +CONFIG -= app_bundle DEFINES += QT_DEPRECATED_WARNINGS QT_NO_WARNING_OUTPUT SOURCES += \ @@ -8,17 +8,8 @@ SOURCES += \ main.cpp RESOURCES += qml.qrc - RC_ICONS = favicon.ico - -#qnx: target.path = /tmp/$${TARGET}/bin -#else: unix:!android: target.path = /opt/$${TARGET}/bin -#!isEmpty(target.path): INSTALLS += target - -# Additional import path used to resolve QML modules in Qt Creator's code model QML_IMPORT_PATH = - -# Additional import path used to resolve QML modules just for Qt Quick Designer QML_DESIGNER_IMPORT_PATH = CONFIG(debug,debug|release) { DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/debug) @@ -27,7 +18,6 @@ CONFIG(debug,debug|release) { } win32 { - contains(QT_ARCH, i386) { COPYDLL = $$absolute_path($${_PRO_FILE_PWD_}/../third/Win_x86/*.dll) $$DESTDIR contains(QMAKE_CC, cl) { @@ -43,9 +33,7 @@ contains(QT_ARCH, i386) { QMAKE_PRE_LINK += $$QMAKE_COPY $$COPYDLL } } - } - HEADERS += \ ChatController.h diff --git a/src/macos_install.sh b/src/macos_install.sh old mode 100644 new mode 100755