Revert "fixed plugin gui compile error on mac #4168"

This reverts commit f6d4cf1c38.
This commit is contained in:
XinyuHou 2015-02-05 11:42:08 +00:00
parent f6d4cf1c38
commit a0090c69ba
5 changed files with 2 additions and 34 deletions

View File

@ -1,4 +1,3 @@
QT += widgets
TARGET = plugindownloader
TEMPLATE = app
SOURCES += src/main.cpp \
@ -10,14 +9,6 @@ HEADERS += src/Arguments.h \
FORMS += res/MainDialogBase.ui
RESOURCES += res/Synergy.qrc
RC_FILE = res/win/Synergy.rc
macx {
QMAKE_INFO_PLIST = res/mac/Info.plist
TARGET = Synergy
QSYNERGY_ICON.files = res/mac/Synergy.icns
QSYNERGY_ICON.path = Contents/Resources
QMAKE_BUNDLE_DATA += QSYNERGY_ICON
LIBS += $$MACX_LIBS
}
win32 {
Debug:DESTDIR = ../../../bin/Debug
Release:DESTDIR = ../../../bin/Release

View File

@ -1,25 +0,0 @@
<?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>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
<key>CFBundleIconFile</key>
<string>Synergy.icns</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleExecutable</key>
<string>Synergy</string>
<key>CFBundleIdentifier</key>
<string>synergy</string>
<key>SMPrivilegedExecutables</key>
<dict>
<key>synmacph</key>
<string>anchor apple generic and identifier &quot;synmacph&quot; and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = SP58PFWX5L)</string>
</dict>
</dict>
</plist>

Binary file not shown.

Binary file not shown.

View File

@ -1,6 +1,8 @@
#include "MainDialog.h"
#include "Arguments.h"
#include <QtGui/QApplication>
void parseArgs(Arguments& args, int argc, char* argv[])
{
for (int i = 1; i < argc; i++) {