<div dir="ltr"><div><div><div><div><div>Hi!<br><br></div>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:<br>
<br>[ 96%] Building CXX object staging/kde4support/tests/CMakeFiles/kinputdialogtest.dir/kinputdialogtest_automoc.cpp.o                                                                                           <br>Linking CXX executable kinputdialogtest<br>
CMakeFiles/kinputdialogtest.dir/kinputdialogtest.cpp.o: In function `main':<br>/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&)'<br>
/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&)'<br>
/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&)'<br>
/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*)'<br>
/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*)'<br>
/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*)'<br>
/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*)'<br>
/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*)'<br>
/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*)'<br>
/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*)'<br>
/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*)'<br>
collect2: error: ld returned 1 exit status<br>make[2]: *** [staging/kde4support/tests/kinputdialogtest] Error 1<br>make[1]: *** [staging/kde4support/tests/CMakeFiles/kinputdialogtest.dir/all] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br>
<br></div>I attach the patch. Can someone please give me a hint of where's the error?<br><br></div>Thank you for your help! :-)<br><br></div>David Gil<br></div><a href="http://www.hackingastrology.net">www.hackingastrology.net</a><br>
</div>