2015-08-13 06:44:06 +08:00
|
|
|
#include "application.h"
|
2015-12-17 09:11:25 +08:00
|
|
|
#include <libfm-qt/libfmqt.h>
|
2015-08-13 06:44:06 +08:00
|
|
|
|
|
|
|
int main(int argc, char** argv) {
|
2017-10-22 00:55:23 +02:00
|
|
|
// ensure that glib integration of Qt is not turned off
|
2018-05-22 03:31:47 +02:00
|
|
|
// This fixes #168: https://github.com/lxqt/pcmanfm-qt/issues/168
|
2017-10-22 00:55:23 +02:00
|
|
|
qunsetenv("QT_NO_GLIB");
|
2015-08-16 05:54:46 +08:00
|
|
|
|
2017-10-22 00:55:23 +02:00
|
|
|
PCManFM::Application app(argc, argv);
|
|
|
|
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
|
|
|
|
|
|
|
|
app.init();
|
|
|
|
return app.exec();
|
2015-08-13 06:44:06 +08:00
|
|
|
}
|