[Digikam-devel] BatchProcessImages : only one line to remove to have a pure Qt4 plugin (and the last one !!!)
Andi Clemens
andi.clemens at gmx.net
Wed Oct 28 19:08:55 GMT 2009
Fixed with my latest commit.
I have adapted Ui handling to Qt4 and removed some old support classes.
Andi
On Wednesday 28 October 2009 16:52:42 Gilles Caulier wrote:
> Hi,
>
> Anybody has an idea :
>
> [gilles batchprocessimages]$ make clean
> [gilles batchprocessimages]$ make
> Generating resizeoptionsdialog.moc
> Generating imagepreview.moc
> Generating coloroptionsdialog.moc
> Generating convertimagesdialog.moc
> Generating resizecommandbuilder.moc
> Generating outputdialog.moc
> Generating recompressoptionsdialog.moc
> Generating borderoptionsdialog.moc
> Generating convertoptionsdialog.moc
> Generating filterimagesdialog.moc
> Generating plugin_batchprocessimages.moc
> Generating filteroptionsdialog.moc
> Generating renameimagesdialog.moc
> Generating renameimageswidget.moc
> Generating borderimagesdialog.moc
> Generating pixmapview.moc
> Generating effectoptionsdialog.moc
> Generating batchprocessimageslist.moc
> Generating resizeimagesdialog.moc
> Generating colorimagesdialog.moc
> Generating batchprocessimagesdialog.moc
> Generating effectimagesdialog.moc
> Generating recompressimagesdialog.moc
> [ 0%] Built target kipiplugin_batchprocessimages_automoc
> [ 0%] Built target kipiplugins_automoc
> [ 33%] Built target kipiplugins
> [ 33%] Generating ui_renameimagesbase.h
> [ 33%] Generating ui_batchprocessimagesdialog.h
> [ 33%] Generating ui_imagepreview.h
> [ 33%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/kipiplugin_batchprocessimages_automoc.o [ 33%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/plugin_batchprocessimages.o [ 33%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/batchprocessimagesdialog.o [ 33%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/batchprocessimagesitem.o [ 33%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/batchprocessimageslist.o [ 33%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/outputdialog.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/imagepreview.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/dialogutils.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/pixmapview.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/resizecommandbuilder.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/borderimagesdialog.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/borderoptionsdialog.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/colorimagesdialog.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/coloroptionsdialog.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/convertimagesdialog.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/convertoptionsdialog.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/effectimagesdialog.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/effectoptionsdialog.o [ 66%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/filterimagesdialog.o [100%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/filteroptionsdialog.o [100%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/recompressimagesdialog.o [100%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/recompressoptionsdialog.o [100%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/renameimagesdialog.o [100%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/renameimageswidget.o [100%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/resizeimagesdialog.o [100%] Building CXX object
> kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.di
> r/resizeoptionsdialog.o Linking CXX shared module
> ../../lib/kipiplugin_batchprocessimages.so /usr/bin/ld: Dwarf Error:
> Offset (88146) greater than or equal to
> .debug_str size (2480).
> CMakeFiles/kipiplugin_batchprocessimages.dir/renameimagesdialog.o:(.data.re
> l.ro._ZTV7Q3GList[vtable for Q3GList]+0xc): undefined reference to
> `Q3GList::clear()'
> CMakeFiles/kipiplugin_batchprocessimages.dir/renameimagesdialog.o:(.data.re
> l.ro._ZTV7Q3GList[vtable for Q3GList]+0x10): undefined reference to
> `Q3GList::~Q3GList()'
> CMakeFiles/kipiplugin_batchprocessimages.dir/renameimagesdialog.o:(.data.re
> l.ro._ZTV7Q3GList[vtable for Q3GList]+0x14): undefined reference to
> `Q3GList::~Q3GList()'
> CMakeFiles/kipiplugin_batchprocessimages.dir/renameimagesdialog.o:(.data.re
> l.ro._ZTV7Q3GList[vtable for Q3GList]+0x18): undefined reference to
> `Q3PtrCollection::newItem(void*)'
> CMakeFiles/kipiplugin_batchprocessimages.dir/renameimagesdialog.o:(.data.re
> l.ro._ZTV7Q3GList[vtable for Q3GList]+0x20): undefined reference to
> `Q3GList::compareItems(void*, void*)'
> CMakeFiles/kipiplugin_batchprocessimages.dir/renameimagesdialog.o:(.data.re
> l.ro._ZTV7Q3GList[vtable for Q3GList]+0x24): undefined reference to
> `Q3GList::read(QDataStream&, void*&)'
> CMakeFiles/kipiplugin_batchprocessimages.dir/renameimagesdialog.o:(.data.re
> l.ro._ZTV7Q3GList[vtable for Q3GList]+0x28): undefined reference to
> `Q3GList::write(QDataStream&, void*) const'
> CMakeFiles/kipiplugin_batchprocessimages.dir/renameimagesdialog.o:(.data.re
> l.ro._ZTI7Q3GList[typeinfo for Q3GList]+0x8): undefined reference to
> `typeinfo for
> Q3PtrCollection'
> collect2: ld returned 1 exit status
> make[2]: *** [lib/kipiplugin_batchprocessimages.so] Error 1
> make[1]: ***
> [kipi-plugins/batchprocessimages/CMakeFiles/kipiplugin_batchprocessimages.
> dir/all] Error 2
> make: *** [all] Error 2
>
> [gilles at pc-caulier batchprocessimages]$
> [gilles at pc-caulier batchprocessimages]$ svn diff
> Index: CMakeLists.txt
> ===================================================================
> --- CMakeLists.txt (revision 1041833)
> +++ CMakeLists.txt (working copy)
> @@ -53,7 +53,7 @@
> ${KDE4_KDECORE_LIBS}
> ${KDE4_KIO_LIBS}
> ${KDE4_KDEUI_LIBS}
> - ${QT_QT3SUPPORT_LIBRARY}
> +# ${QT_QT3SUPPORT_LIBRARY}
> )
>
> INSTALL(TARGETS kipiplugin_batchprocessimages DESTINATION
> ${PLUGIN_INSTALL_DIR})
>
>
> Gilles
> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
More information about the Digikam-devel
mailing list