witam, próbuje skonfigurowac qt i uzywać w visualu ale podczas kompilacji mam bledy. Oto co robie:
configure.exe -release -no-webkit -no-phonon -no-phonon-backend -no-script -no-scripttools -no-qt3support -no-multimedia -no-ltcg -no-lubpng -no-libjpeg -fast
no i pozniej oczywiscie nmake. A oto error który po czasie wyskakuje:
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_P
LUGIN -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"........\includ
e\QtCore" -I"........\include\QtGui" -I"........\include" -I"......\gui\image" -I"........\include\ActiveQt" -I"tmp\moc\release_shared" -I"
........\mkspecs\win32-msvc2010" -Fotmp\obj\release_shared\ @C:\Users\Adrian\AppData\Local\Temp\nm3FCF.tmp
qtiffhandler.cpp
......\gui\image\qtiffhandler.cpp(55) : error C2440: 'static_cast' : cannot convert from 'thandle_t' to 'QTiffHandler *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
......\gui\image\qtiffhandler.cpp(55) : error C2227: left of '->device' must point to class/struct/union/generic type
......\gui\image\qtiffhandler.cpp(61) : error C2440: 'static_cast' : cannot convert from 'thandle_t' to 'QTiffHandler *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
......\gui\image\qtiffhandler.cpp(61) : error C2227: left of '->device' must point to class/struct/union/generic type
......\gui\image\qtiffhandler.cpp(61) : error C2227: left of '->write' must point to class/struct/union/generic type
......\gui\image\qtiffhandler.cpp(66) : error C2440: 'static_cast' : cannot convert from 'thandle_t' to 'QTiffHandler *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
......\gui\image\qtiffhandler.cpp(66) : error C2227: left of '->device' must point to class/struct/union/generic type
......\gui\image\qtiffhandler.cpp(89) : error C2440: 'static_cast' : cannot convert from 'thandle_t' to 'QTiffHandler *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
......\gui\image\qtiffhandler.cpp(89) : error C2227: left of '->device' must point to class/struct/union/generic type
......\gui\image\qtiffhandler.cpp(89) : error C2227: left of '->size' must point to class/struct/union/generic type
......\gui\image\qtiffhandler.cpp(186) : error C2664: 'TIFFClientOpen' : cannot convert parameter 3 from 'QTiffHandler *const ' to 'thandle_t'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
......\gui\image\qtiffhandler.cpp(418) : error C2664: 'TIFFClientOpen' : cannot convert parameter 3 from 'QTiffHandler *const ' to 'thandle_t'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
......\gui\image\qtiffhandler.cpp(615) : error C2664: 'TIFFClientOpen' : cannot convert parameter 3 from 'QTiffHandler *' to 'thandle_t'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '""C:\Program' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '""C:\Program' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '""C:\Program' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '""C:\Program' : return code '0x2'
Stop.
a wlasnie -no-libpng oraz -no-libjpeg uzywam gdyz wczesniej to wywolywalo bledy :/ srenio sie na tym znam i bede bardzo wdzieczny za pomoc.