[Kst] Re: branches/work/kst/portto4/kst

Peter Kümmel syntheticpp at gmx.net
Mon Jan 10 14:48:26 CET 2011


On 10.01.2011 14:43, Brisset, Nicolas wrote:
>>>> nicolas at linux-cwbq:~/Code/kst_cmake/manual_build> make
>>>> ...
>>>> [ 13%] Built target kstcore
>>>> [ 24%] Built target kstmath
>>>> [ 24%] Building CXX object
>> src/widgets/CMakeFiles/kstwidgets.dir/merged_const.cpp.o
>>>>
>>
> /home/nicolas/Code/kst_cmake/manual_build/src/widgets/merged_const.cpp:3
> 3:
>> 61: fatal error: /home/nicolas/Code/kst/src/widgets/qrc_images.cpp:
> Aucun
>> fichier ou dossier de ce type
>>
>> The error code is correct, in the source tree no generated files
> should be
>> found.
>> I wonder why it looks there, and why it is part of the widget the
> project.
>>
>> Is your source tree clean, only svn files, no other files (eg. left
> from
>> qmake)?
> Well, there was probably some old cruft left from in-tree qmake builds.
> IN a fresh checkout and from the command line, I was able to compile. I
> haven't (yet) retried it from QtCreator. But I guess it'll work OK once
> I have cleaned up a bit.
> 
> As it looks, switching to cmake brings a nice speedup at compilation and
> works, so I guess I'll make the switch soon. The only problem I still
> have is that when I open the CMakeFiles.txt in kst/cmake/ from
> QtCreator, it finds only headers and no .cpp files. I really like
> QtCreator, it makes lots of things so much more efficient. But you have
> to have access to the source files! Is there anything I have overseen?
> 
> Nicolas 
> 

In merged mode, it doesn't add the source files, but I have a idea ...

Peter



More information about the Kst mailing list