Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    CMake can't find QT

    Reply
    Dockman | # 1 | 2011-12-13, 02:48 | Report

    Hi guys,
    I'm trying to port an app to Harmattan.
    I'm using QT Creator, and it's asking me to complie using CMake.
    I've installed cmake, but it gives me this error when I try to build:

    CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (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)
    Call Stack (most recent call first):
    C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
    C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindQt4.cmake:1171 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    CMakeLists.txt:74 (FIND_PACKAGE)

    Anyone have any ideas? I've gone through the net trying to find a straight answer, and have tried a few things, but no love. I've very much a noob here.

    EDIT. This probably should go in Development if a mod wants to move it.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Dockman; 2011-12-13 at 03:23.

     
vBulletin® Version 3.8.8
Normal Logout