Re: [CMake] missing qt on windows

2012-05-15 Thread Sweety Pie
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 gonzaloama...@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

--

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

Re: [CMake] missing qt on windows

2012-05-15 Thread Petr Kmoch
Hi Gonzalo,

the problem is cmake didn't find qmake. The safest way to use cmake
with Qt on Windows is to run cmake from a Qt-aware command line (or
have qmake in your PATH). There should be a shortcut to a Qt command
prompt installed in your Start menu. If it's not, you can create your
own:

`%COMSPEC% /k your_path_to_Qt\bin\qtvars.bat vsvars'

Petr

On Tue, May 15, 2012 at 10:36 AM, Gonzalo Amadio
gonzaloama...@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
--

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


Re: [CMake] missing qt on windows

2012-05-15 Thread Gonzalo Amadio
I have done this, but adding it int other way . Selecting on the screen
the line where the error araises and exploring until finding qmake.exe (in
the same folder you indicate). And I think it works.
Thank you

2012/5/15 Sweety Pie sweetyp198...@gmail.com

 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 gonzaloama...@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





-- 

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