Code review comment for lp://qastaging/~verzegnassi-stefano/ubuntu-docviewer-app/document-hub2

Revision history for this message
Stefano Verzegnassi (verzegnassi-stefano) wrote :

Changing:
    QCoreApplication::setOrganizationDomain("com.ubuntu.docviewer")
to:
    QCoreApplication::setOrganizationName("com.ubuntu.docviewer")

makes the app look for the main QML file in the wrong path, since DataLocation is built as "/usr/share/<APPNAME>", where <APPNAME> (according to Qt docs) "is usually the organization name, the application name, or both, or a unique name generated at packaging."

In this case, it is both[1].

[1] "/usr/local/share/com.ubuntu.docviewer/com.ubuntu.docviewer/qml/ubuntu-docviewer-app.qml"

« Back to merge proposal