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

Brad King brad.king at kitware.com
Mon Nov 28 11:51:25 EST 2011


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:

  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