[KPhotoAlbum] Compiler warning
Robert Krawitz
rlk at alum.mit.edu
Sun Feb 19 21:45:23 GMT 2017
Getting this compiler warning with KDE Framework 5.9 and Qt 5.8.
/home/rlk/sandbox/kphotoalbum/MainWindow/Window.cpp: In member function ‘void MainWindow::Window::showVideos()’:
/home/rlk/sandbox/kphotoalbum/MainWindow/Window.cpp:1745:138: warning: ‘static bool KRun::runUrl(const QUrl&, const QString&, QWidget*, bool, bool, const QString&, const QByteArray&)’ is deprecated [-Wdeprecated-declarations]
KRun::runUrl(QUrl(QString::fromLatin1("http://www.kphotoalbum.org/index.php?page=videos")), QString::fromLatin1( "text/html" ), this );
^
In file included from /usr/include/KF5/KIOWidgets/KRun:1:0,
from /home/rlk/sandbox/kphotoalbum/MainWindow/Window.cpp:55:
/usr/include/KF5/KIOWidgets/krun.h:300:46: note: declared here
static bool KIOWIDGETS_DEPRECATED_EXPORT runUrl(const QUrl &url, const QString &mimetype, QWidget *window,
^~~~~~
--
Robert Krawitz <rlk at alum.mit.edu>
*** MIT Engineers A Proud Tradition http://mitathletics.com ***
Member of the League for Programming Freedom -- http://ProgFree.org
Project lead for Gutenprint -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
More information about the Kphotoalbum
mailing list