[Interest] Include the kdsoap.pri QMake include file in the project's .pro file

Olivier Austina olivier.austina at gmail.com
Wed Jun 19 23:52:59 CEST 2013


Thanks to all of you.
I have move to release mode. This is the errors I got:
23:44:30: Exécution des étapes pour le projet Currency...

23:44:30: Configuration inchangée, étape qmake sautée.

23:44:30: Débute : "C:\MinGW\bin\mingw32-make.exe"

C:/MinGW/bin/mingw32-make -f Makefile.Release

mingw32-make[1]: Entering directory `C:/KKK/build-Currency-Desktop-Release'

Makefile.Release:143: warning: overriding recipe for target
`moc_wsdl_CurrencyConvertor.cpp'

Makefile.Release:123: warning: ignoring old recipe for target
`moc_wsdl_CurrencyConvertor.cpp'

c:/KDSoap/bin/kdwsdl2cpp.exe ../Currency/CurrencyConvertor.wsdl -o
wsdl_CurrencyConvertor.h

c:/KDSoap/bin/kdwsdl2cpp.exe -impl wsdl_CurrencyConvertor.h
../Currency/CurrencyConvertor.wsdl -o wsdl_CurrencyConvertor.cpp

Converting 1 simple types

Converting 2 complex types

Converting 1 simple types

Converting 2 complex types

g++ -c -pipe -O2 -frtti -fexceptions -mthreads -Wall -Wextra -DUNICODE
-DQT_LARGEFILE_SUPPORT -DHAVE_KDSOAP -DQT_DLL -DQT_NO_DEBUG
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT
-I'../../Qt/4.8.4/include/QtCore' -I'../../Qt/4.8.4/include/QtNetwork'
-I'../../Qt/4.8.4/include' -I'../../KDSoap/include'
-I'../../KDSoap/include/KDSoapClient' -I'../../KDSoap/include/KDSoapServer'
-I'.' -I'.' -I'../../Qt/4.8.4/include/ActiveQt' -I'../Currency' -I'.'
-I'../../Qt/4.8.4/mkspecs/win32-g++' -o release/main.o ../Currency/main.cpp

g++ -c -pipe -O2 -frtti -fexceptions -mthreads -Wall -Wextra -DUNICODE
-DQT_LARGEFILE_SUPPORT -DHAVE_KDSOAP -DQT_DLL -DQT_NO_DEBUG
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT
-I'../../Qt/4.8.4/include/QtCore' -I'../../Qt/4.8.4/include/QtNetwork'
-I'../../Qt/4.8.4/include' -I'../../KDSoap/include'
-I'../../KDSoap/include/KDSoapClient' -I'../../KDSoap/include/KDSoapServer'
-I'.' -I'.' -I'../../Qt/4.8.4/include/ActiveQt' -I'../Currency' -I'.'
-I'../../Qt/4.8.4/mkspecs/win32-g++' -o release/wsdl_CurrencyConvertor.o
wsdl_CurrencyConvertor.cpp

C:/Qt/4.8.4/bin/moc.exe -DUNICODE -DQT_LARGEFILE_SUPPORT -DHAVE_KDSOAP
-DQT_DLL -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX
-DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
-DQT_THREAD_SUPPORT -I'../../Qt/4.8.4/include/QtCore'
-I'../../Qt/4.8.4/include/QtNetwork' -I'../../Qt/4.8.4/include'
-I'../../KDSoap/include' -I'../../KDSoap/include/KDSoapClient'
-I'../../KDSoap/include/KDSoapServer' -I'.' -I'.'
-I'../../Qt/4.8.4/include/ActiveQt' -I'../Currency' -I'.'
-I'../../Qt/4.8.4/mkspecs/win32-g++' -D__GNUC__ -DWIN32
wsdl_CurrencyConvertor.h -o moc_wsdl_CurrencyConvertor.cpp

g++ -c -pipe -O2 -frtti -fexceptions -mthreads -Wall -Wextra -DUNICODE
-DQT_LARGEFILE_SUPPORT -DHAVE_KDSOAP -DQT_DLL -DQT_NO_DEBUG
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT
-I'../../Qt/4.8.4/include/QtCore' -I'../../Qt/4.8.4/include/QtNetwork'
-I'../../Qt/4.8.4/include' -I'../../KDSoap/include'
-I'../../KDSoap/include/KDSoapClient' -I'../../KDSoap/include/KDSoapServer'
-I'.' -I'.' -I'../../Qt/4.8.4/include/ActiveQt' -I'../Currency' -I'.'
-I'../../Qt/4.8.4/mkspecs/win32-g++' -o
release/moc_wsdl_CurrencyConvertor.o moc_wsdl_CurrencyConvertor.cpp

g++ -Wl,-s -Wl,-subsystem,console -mthreads -o release/Currency.exe
release/main.o release/wsdl_CurrencyConvertor.o
release/moc_wsdl_CurrencyConvertor.o -L'c:/Qt/4.8.4/lib' -LC:\KDSoap/lib
-lkdsoapd -lQtNetwork4 -lQtCore4

mingw32-make[1]: Leaving directory `C:/KKK/build-Currency-Desktop-Release'

c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe:
cannot find -lkdsoapd

collect2: ld returned 1 exit status

mingw32-make[1]: *** [release/Currency.exe] Error 1

mingw32-make: *** [release] Error 2

23:44:47: Le processus "C:\MinGW\bin\mingw32-make.exe" s'est terminé avec
le code 2.

Erreur lors de la compilation/déploiement du projet Currency (kit : Desktop)

Lors de l'exécution de l'étape "Make"

23:44:47: Elapsed time: 00:17.


The WSDL can be found here
http://www.webservicex.net/CurrencyConvertor.asmx?WSDL.


Regards
Olivier



2013/6/19 Thiago Macieira <thiago.macieira at intel.com>

> On quarta-feira, 19 de junho de 2013 21.27.10, Olivier Austina wrote:
> > I got the following errors : cannot find :
> > -Cannot find -lkdsoapd
>
> Looks like you're on Windows and trying to compile in debug mode, but you
> don't have kdsoap compiled in debug mode. You should either switch to
> release
> mode, or recompile kdsoap so you have the debug-mode library.
>
> Or change the .pri file so that it links to the release-mode library.
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130619/8f3a9094/attachment.html>


More information about the Interest mailing list