Alf Gaida 5fba8b840b Cherry-picking upstream release 0.12.0.
* Bumped Standards to 4.1.1
* Bumped build-tools >= 0.4.0
* Bumped libfm-qt-dev >= 0.12.0
* Bumped years in copyright
* Added  build dependency libexif-dev
* Added Breaks and Replaces for lxqt-common << 0.12.0
2017-10-24 21:54:10 +02:00

16 lines
410 B
C++

#include <libfm/fm.h>
#include "application.h"
#include <libfm-qt/libfmqt.h>
int main(int argc, char** argv) {
// ensure that glib integration of Qt is not turned off
// This fixes #168: https://github.com/lxde/pcmanfm-qt/issues/168
qunsetenv("QT_NO_GLIB");
PCManFM::Application app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
app.init();
return app.exec();
}