[KPhotoAlbum] Compiler warning

Johannes Zarl-Zierl johannes at zarl-zierl.at
Tue Feb 21 21:38:27 GMT 2017


Should be fixed in current git master.

Cheers,
  Johannes

On Sonntag, 19. Februar 2017 16:45:23 CET Robert Krawitz wrote:
> 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, ^~~~~~





More information about the Kphotoalbum mailing list