Windows compilation error

Marijn Kruisselbrink mkruisselbrink at kde.org
Mon May 23 08:31:20 BST 2011


When did you last update calligra? And what kdelibs version are you building 
against? There should be a #if in the code that only uses the (KFileItemList, 
QSize) arguments for kdelibs versions where that method exist, but somehow 
that check seems to be failing for you?

Marijn

On Sunday, May 22, 2011 01:00:28 pm Pierre Stirnweiss wrote:
> While compiling on windows, i get the following error:
> 
> 
> [  9%] Building CXX object
> libs/main/CMakeFiles/komain.dir/KoRecentDocumentsPane.obj
> KoRecentDocumentsPane.cpp
> C:\Users\pierre\shared\Hacking\calligra\libs\main\KoRecentDocumentsPane.cpp
> (125) : error C2665: 'KIO::filePreview' : none of the 2 overloads could
> convert all the argument types c:\kde\include\kio/previewjob.h(165): could
> be 'KIO::PreviewJob *KIO::filePreview(const KFileItemList
> &,int,int,int,int,bool,bool,const QStringList *)'
> c:\kde\include\kio/previewjob.h(187): or       'KIO::PreviewJob
> *KIO::filePreview(const KUrl::List &,int,int,int,int,bool,bool,const
> QStringList *)' while trying to match the argument list '(KFileItemList,
> QSize)' NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.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 Files\Microsoft Visual Studio
> 10.0\VC\BIN\nmake.exe"' : return code '0x2' Stop.
> 
> 
> I won't have much time to fix this before mid next week. And i'd like to
> nail down the styles widget stuff in the little time i'll have then. So if
> the corresponding author could look into this one, i'd be much gratefull.
> 
> Pierre




More information about the calligra-devel mailing list