24 lines
511 B
C++
24 lines
511 B
C++
/**
|
|
* @author Rick Chan (cy187lion@sina.com)
|
|
* @date 2014-01-23
|
|
*/
|
|
|
|
#include "qtproaddfilehelper.h"
|
|
#include <QApplication>
|
|
#include <QtGlobal>
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
#if defined Q_OS_WIN32 && !defined QT_DEBUG
|
|
QApplication::setLibraryPaths(QStringList("./plugins/"));
|
|
#elif defined Q_OS_LINUX && !defined QT_DEBUG
|
|
#elif defined Q_OS_MAC && !defined QT_DEBUG
|
|
#endif // OS && !QT_DEBUG
|
|
|
|
QApplication a(argc, argv);
|
|
QtProAddFileHelper w;
|
|
w.show();
|
|
|
|
return a.exec();
|
|
}
|