[Digikam-devel] Adding new class in Digikam namespace

Dhruv Patel dhruvkumarr.patel51 at gmail.com
Sat Jun 25 08:45:22 BST 2011


HI,

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:

Linking CXX executable digikam
CMakeFiles/digikam.dir/views/digikamview.cpp.o: In function
`Digikam::DigikamView::qml(QList<Digikam::ImageInfo>)':
/home/dhruv/digikam-sc/core/digikam/views/digikamview.cpp:1859: undefined
reference to `Digikam::QmlShow::QmlShow(QList<Digikam::ImageInfo>)'
collect2: ld returned 1 exit status
make[2]: *** [core/digikam/digikam] Error 1
make[1]: *** [core/digikam/CMakeFiles/digikam.dir/all] Error 2
make: *** [all] Error 2

Is there more to be done when we add new class?

-- 
Dhruv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20110625/895b585d/attachment.html>


More information about the Digikam-devel mailing list