Skip to content

Commit

Permalink
[qt5.6] Update to Qt 5.6 compatibility
Browse files Browse the repository at this point in the history
Qt 5.6 requires application to be started at the first line of main()
  • Loading branch information
locusf authored Nov 17, 2016
1 parent a6b102e commit d0e6d6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@

int main(int argc, char **argv)
{
QmlPath::append("/usr/share/lipstick-glacier-home-qt5/qml");
HomeApplication app(argc, argv, QString());

QmlPath::append("/usr/share/lipstick-glacier-home-qt5/qml");
QGuiApplication::setFont(QFont("Open Sans"));
app.setCompositorPath("/usr/share/lipstick-glacier-home-qt5/qml/compositor.qml");
Qt::ScreenOrientation nativeOrientation = app.primaryScreen()->nativeOrientation();
Expand Down

0 comments on commit d0e6d6e

Please sign in to comment.