Problem moving KInputDialog to KDE4Support
David Gil Oliva
davidgiloliva at gmail.com
Tue Jun 4 23:08:53 UTC 2013
Hi!
I'm moving KInputDialog to KDE4Support. I have taken other commits as an
example and I think I have done everything as others have, but still I get
an error when it comes to compiling kinputdialogtest.cpp:
[ 96%] Building CXX object
staging/kde4support/tests/CMakeFiles/kinputdialogtest.dir/kinputdialogtest_automoc.cpp.o
Linking CXX executable kinputdialogtest
CMakeFiles/kinputdialogtest.dir/kinputdialogtest.cpp.o: In function `main':
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:22:
undefined reference to `KInputDialog::getText(QString const&, QString
const&, QString const&, bool*, QWidget*, QValidator*, QString const&,
QString const&, QStringList const&)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:27:
undefined reference to `KInputDialog::getText(QString const&, QString
const&, QString const&, bool*, QWidget*, QValidator*, QString const&,
QString const&, QStringList const&)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:31:
undefined reference to `KInputDialog::getText(QString const&, QString
const&, QString const&, bool*, QWidget*, QValidator*, QString const&,
QString const&, QStringList const&)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:35:
undefined reference to `KInputDialog::getInteger(QString const&, QString
const&, int, int, int, int, int, bool*, QWidget*)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:39:
undefined reference to `KInputDialog::getInteger(QString const&, QString
const&, int, int, int, int, int, bool*, QWidget*)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:43:
undefined reference to `KInputDialog::getDouble(QString const&, QString
const&, double, double, double, double, int, bool*, QWidget*)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:46:
undefined reference to `KInputDialog::getDouble(QString const&, QString
const&, double, double, double, int, bool*, QWidget*)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:51:
undefined reference to `KInputDialog::getItem(QString const&, QString
const&, QStringList const&, int, bool, bool*, QWidget*)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:54:
undefined reference to `KInputDialog::getItem(QString const&, QString
const&, QStringList const&, int, bool, bool*, QWidget*)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:61:
undefined reference to `KInputDialog::getItemList(QString const&, QString
const&, QStringList const&, QStringList const&, bool, bool*, QWidget*)'
/home/david/devel/kf5-development/kdelibs/staging/kde4support/tests/kinputdialogtest.cpp:66:
undefined reference to `KInputDialog::getItemList(QString const&, QString
const&, QStringList const&, QStringList const&, bool, bool*, QWidget*)'
collect2: error: ld returned 1 exit status
make[2]: *** [staging/kde4support/tests/kinputdialogtest] Error 1
make[1]: ***
[staging/kde4support/tests/CMakeFiles/kinputdialogtest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
I attach the patch. Can someone please give me a hint of where's the error?
Thank you for your help! :-)
David Gil
www.hackingastrology.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130605/98da0a40/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-KInputDialog-to-KDE4Support.patch
Type: application/octet-stream
Size: 70523 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130605/98da0a40/attachment-0001.obj>
More information about the Kde-frameworks-devel
mailing list