D18674: Add missing QStandardPaths to fix build

Andreas Sturmlechner noreply at phabricator.kde.org
Sat Feb 2 20:47:06 GMT 2019


asturmlechner added a comment.


    -c /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/main.cpp
    /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/main.cpp:101:162: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
                               ki18n( "IRC:\nirc.freenode.net - #amarok, #amarok.de, #amarok.es, #amarok.fr\n\nFeedback:\namarok at kde.org\n\n(Build Date: %1)" ).subs( __DATE__ ).toString(),
                                                                                                                                                                      ^~~~~~~~
    /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/main.cpp: In function ‘int main(int, char**)’:
    /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/main.cpp:74:40: error: ‘QStandardPaths’ has not been declared
             const QString targetBasePath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/amarok/");
                                            ^~~~~~~~~~~~~~
    /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/main.cpp:74:73: error: ‘QStandardPaths’ has not been declared
             const QString targetBasePath = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + QStringLiteral("/amarok/");
                                                                             ^~~~~~~~~~~~~~
    /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/main.cpp:361:82: note: #pragma message: PORT KF5: This *if* should be moved to activateRequested() slot
     #pragma message("PORT KF5: This *if* should be moved to activateRequested() slot")
                                                                                      ^

REPOSITORY
  R181 Amarok

REVISION DETAIL
  https://phabricator.kde.org/D18674

To: asturmlechner, #amarok, markey
Cc: yurchor, amarok-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20190202/71f6e172/attachment.html>


More information about the Amarok-devel mailing list