[KimDaBa] MD5 sums completed. (Compile errors and what to do on kde/qt 3.1.1)

Reimar Imhof Reimar.Imhof at netCologne.de
Tue Jan 20 21:51:09 GMT 2004


> | > KimDaBa mailing list
> | > KimDaBa at klaralvdalens-datakonsult.se
> | > http://sulaco.hrhansen.dk/mailman/listinfo/kimdaba
> |
> | I get the following error when compiling this latest snapshot:
> |
> | make[3]: Entering directory
> | `/home/matt/appdownloads/kimdaba-2004-01-19/kimdaba'
> | if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt3//include
> | -I/usr/X11R6/include  -I./compat  -DQT_THREAD_SUPPORT  -D_REENTRANT
> | -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> | -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
> | -Wconversion -Wchar-subscripts -O2 -Wformat-security
> | -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
> | -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> | -DQT_NO_TRANSLATION   -MT imagedb.o -MD -MP -MF ".deps/imagedb.Tpo" \
> |   -c -o imagedb.o `test -f 'imagedb.cpp' || echo './'`imagedb.cpp; \
> | then mv -f ".deps/imagedb.Tpo" ".deps/imagedb.Po"; \
> | else rm -f ".deps/imagedb.Tpo"; exit 1; \
> | fi
> | imagedb.cpp: In member function `void ImageDB::loadExtraFiles()':
> | imagedb.cpp:211: error: `wasCanceled' undeclared (first use this
> | function)
> | imagedb.cpp:211: error: (Each undeclared identifier is reported only
> | once for each function it appears in.)
> | imagedb.cpp: In member function `void
> | ImageDB::calculateMissingMD5sums(QValueList<ImageInfo*>&)':
> | imagedb.cpp:387: error: `wasCanceled' undeclared (first use this
> | function)
> | make[3]: *** [imagedb.o] Error 1
> | make[3]: Leaving directory
> | `/home/matt/appdownloads/kimdaba-2004-01-19/kimdaba'
> | make[2]: *** [all-recursive] Error 1
> | make[2]: Leaving directory
> | `/home/matt/appdownloads/kimdaba-2004-01-19/kimdaba'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory `/home/matt/appdownloads/kimdaba-2004-01-19'
> | make: *** [all] Error 2
> |
> | Any suggestions?
>
> Strange indeed, I just tried installing the snapshot myself erhh actually
> as my girlfriend (her account using a KDE 3.1.4), and I had no problems.
>
> Does anyone else have this problem?
> Has anyone else installed successfully?
> Which version of Qt and KDE are you using?
>
> Cheers
> Jesper.
> _______________________________________________
> KimDaBa mailing list
> KimDaBa at klaralvdalens-datakonsult.se
> http://sulaco.hrhansen.dk/mailman/listinfo/kimdaba

Hello Jesper, hello people on the list,

I'm running kde 3.1.1 and I think it's qt 3.1.1, at least qprogressdialog.h 
got an comment saying 3.1.1

There are two points:

When I compile the snapshot kimdaba-2004-01-19 I get the same error message 
like mentioned above.
Here's what I've done to make it work:
In my header qprogressdialog.h there's only a function called "wasCancelled()" 
but imagedb.cpp needs "wasCanceled()".
So I changed the lines 211 and 387 to use "wasCancelled()".

The second point is the problem in viewer.cpp, lines 191, 195, 199, 207, 211 
and 215 like mentioned by Matt some days ago:
Here it's a different implementation of a QAction constructor.
I've done the following changes:
For line 191 I changed
"action = new QAction( QIconSet(), i18n("Centered"), 0, wallpaperPopup );"
to
"action = new QAction( i18n("Centered"), QIconSet(), i18n("Centered"), 
QKeySequence(), wallpaperPopup );"
and so on for the following menu items.

And now I got md5sums in my kindaba-database!

Could you have a look at these changes and apply them to the next snapshot, so 
the next snapshots could be compiled on a kde/qt 3.1.1 - system?

Thanks a lot
Reimar

PS.: I've just made a mistake: I showed my wife that your girlfriend is using 
kde. Well she is using... (don't want to talk about it!!)   ;-)



More information about the Kphotoalbum mailing list