HI,<br><br>i was trying to add a new class named QmlShow in core/utilities/qmlShow. I have added it in core/CMakelists.txt and core/digikam/Cmakelists.txt. But when I try to instantiate it in core/digikam/views/digikamview.cpp, I get following error in make output:<br>
<br>Linking CXX executable digikam<br>CMakeFiles/digikam.dir/views/digikamview.cpp.o: In function `Digikam::DigikamView::qml(QList<Digikam::ImageInfo>)':<br>/home/dhruv/digikam-sc/core/digikam/views/digikamview.cpp:1859: undefined reference to `Digikam::QmlShow::QmlShow(QList<Digikam::ImageInfo>)'<br>
collect2: ld returned 1 exit status<br>make[2]: *** [core/digikam/digikam] Error 1<br>make[1]: *** [core/digikam/CMakeFiles/digikam.dir/all] Error 2<br>make: *** [all] Error 2<br><br clear="all">Is there more to be done when we add new class?<br>
<br>-- <br>Dhruv<br><br>