[Qt-interest] (vista, visual studio 2010) can't compile a simple project

lolveley lolveley at yahoo.fr
Wed Jun 3 00:14:23 CEST 2009


David Ching a écrit :
> "lolveley" <lolveley at yahoo.fr> wrote in message 
> news:4A252323.3030000 at yahoo.fr...
>   
>> hello,
>>
>> I'm trying visual studio 2010
>>     
>
>   
>> and here is the error:
>> ***************************************************************
>> 1>------ Build started: Project: test_cpp_1, Configuration: Debug 
>> Win32 ------
>> 1>Build started 02/06/2009 14:48:36.
>> 1>IsProjectFileNewer:
>> 1>Skipping target "IsProjectFileNewer" because all output files are 
>> up-to-date with respect to the input files.
>> 1>_PrepareForBuild:
>> 1>  Touching "Debug\lastbuild.timestamp".
>> 1>ClCompile:
>> 1>  Skipping task because its outputs are up-to-date.
>> 1>fichier_test.obj : error LNK2019: unresolved external symbol 
>> "__declspec(dllimport) public: virtual __thiscall 
>> QApplication::~QApplication(void)" (__imp_??1QApplication@@UAE at XZ)
>>     
>
> ...
>
> You need to link with QtCore4.lib and QtGui4.lib.
>
> I highly recommend you use either VS2005 or VS2008 and then install the Qt 
> plugin for these, they will help create projects for you with all the proper 
> libraries set up.
>
> -- David
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>   
hello,

thank you for your answer.
you know, I wanted to test VS2010, that is for this reason that I tried
to compile the Qt debug classes.
I will see for QtCore.dll and QtGui.dll; if I can find them and if they
are in the correct paths.

olivier.


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com




More information about the Qt-interest-old mailing list