[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    KF5 with qmake problems
From:       Christian Gagneraud <chgans () gna ! org>
Date:       2015-04-24 5:24:34
Message-ID: 5539D392.9010503 () gna ! org
[Download RAW message or body]

Hi there,

I've just installed kubuntu-15.04, and I'm trying to run this tutorial 
[1]. I'm using stock Qt5, KF5 and Qt Creator.

In my .pro file, I have "QT += KXmlGui KI18n KTextWidgets", but qmake 
complains with "Project ERROR: Unknown module(s) in QT: I18n", if I 
remove KTextWidgets, then qmake is happy (same happens with QT += KParts).

Did I missed something or is it a KF5 or KUbuntu bug?

As a workaround, I'm doing this instead:
INCLUDEPATH += /usr/include/KF5/KTextWidgets/
LIBS += -lKF5TextEditor
INCLUDEPATH += /usr/include/KF5/KParts/
LIBS += -lKF5Parts

Thx,
Krys

[1] 
http://thenoobietips.blogspot.co.nz/2014/06/kf5-tutorial-2-how-to-use-kxmlguiwindow.html

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic