[cmake-developers] Generating imported library targets without the cmake executable

Stephen Kelly steveire at gmail.com
Mon Nov 28 11:57:26 EST 2011


On 11/28/2011 05:51 PM, Brad King wrote:
> On 11/25/2011 10:02 AM, Stephen Kelly wrote:
>> https://qt.gitorious.org/+kdab-developers/qt/kdab-developers-qtbase/
>>
>> the branch is cmake_files. The testing steps are:
>>
>> 1) build and install Qt
>
> It doesn't appear to build at all on Windows with VS 9:

Thanks for trying this. It could be that Qt requires VS10 on Windows. 
According to this page:

http://developer.qt.nokia.com/wiki/Qt_5.0

If you have that available could you try with it? I had someone else 
trying to test the cmake stuff on windows (Qt built fine for him), but 
for some reason he was getting linker errors which I couldn't explain. 
It might need someone familiar with both CMake and windows to figure out.

>
>  kdab-developers-qtbase\include\qtgui\../../src/gui/kernel/qwindowdefs.h(147) 
> : error C2065: 'WId' : undeclared identifier
>
> The #if blocks above that error do have a case for Windows but it does
> not define WId.
>
> It looks like commit 401f0783 removed src/gui/kernel/qwindowdefs_win.h
> and then commit 66febd27 restored it but with that line missing.  See:
>
>  $ git diff 401f0783^:src/gui/kernel/qwindowdefs_win.h 
> 66febd27:src/gui/kernel/qwindowdefs_win.h
>  @@ -115,8 +115,6 @@ typedef long HRESULT;
>   #endif
>
>   typedef struct tagMSG MSG;
>  -typedef HWND WId;
>  -
>
>   QT_BEGIN_NAMESPACE
>
> Restoring the line gets only slightly further and stops with
>
>  NMAKE : fatal error U1073: don't know how to make 
> 'image\qpixmap_win.cpp'
>
> -Brad




More information about the cmake-developers mailing list