[CMake] missing qt on windows
Sweety Pie
sweetyp198612 at gmail.com
Tue May 15 04:49:13 EDT 2012
Hey there,
Please try this, it may work
1- Open CMake - cmake-gui (on the Desktop) - if you are using win7 make
sure you open the program in administrator mode - right click on the icon
and click on "run as administrator".
2- Click on "Add Entry" again
Set name to QT_QMAKE_EXECUTABLE
Set type to "Path"
Set value to C:/Qt/4.8.1/bin/qmake.exe
Click OK
:)
On 15 May 2012 11:36, Gonzalo Amadio <gonzaloamadio at gmail.com> wrote:
> Hello, I am trying to install MITK on windows 7 64bit.
>
> It is required to have QT, I downloaded it from
> http://qt.nokia.com/downloads and istalled it.
>
> I installed the Cmake GUI. And Visual Studio 10 express (in the
> configuration, i choose visual studio 10 compiler).
>
> I have the following error when trying to "Generate".
>
> Setting build type to 'Debug' as none was specified.
>> Check for working C compiler using: Visual Studio 10
>> Check for working C compiler using: Visual Studio 10 -- works
>> Detecting C compiler ABI info
>> Detecting C compiler ABI info - done
>> Check for working CXX compiler using: Visual Studio 10
>> Check for working CXX compiler using: Visual Studio 10 -- works
>> Detecting CXX compiler ABI info
>> Detecting CXX compiler ABI info - done
>> CMake Error at C:/Program Files (x86)/CMake
>> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97
>> (MESSAGE):
>> Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE
>> QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR
>> QT_QTCORE_LIBRARY) (Required is at least version "4.6.2")
>> Call Stack (most recent call first):
>> C:/Program Files (x86)/CMake
>> 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288
>> (_FPHSA_FAILURE_MESSAGE)
>> C:/Program Files (x86)/CMake
>> 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1172
>> (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>> CMakeLists.txt:188 (find_package)
>> Configuring incomplete, errors occurred!
>
>
>
> --
> --------
> Gonzalo Amadio
>
>
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120515/c1a65d55/attachment.htm>
More information about the CMake
mailing list