On Dienstag, 27. Januar 2015 16:42:49 CEST, anu mittal wrote:
It then says
error: no matching function for call to ‘QMessageBox::warning(int, QString)’
         QMessageBox::warning(0,i18n("
Cannot save to the specified file."));

Not during compilation, but on configuration.
If you add those lines to CMakeLists.txt, the lib and headers are searched on 
disk and if not found, the configuration step exits with an error, what 
basically means that the KLocalizedString frameworks module is simply not 
installed in the target (include+link) path.

As a result the header inclusion
#include <klocalizedstring.h>
fails and ultimately the function is of course not found.

Cheers,
Thomas

Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to