Results 1 to 1 of 1

Thread: Kapture installation requires qmake-qt4

  1. #1
    Join Date
    Feb 2012
    Location
    Armenia/Yerevan
    Posts
    400
    Thanks
    15
    Thanked 16 Times in 15 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Kapture installation requires qmake-qt4

    I get the following error when attempting to install Kapture:

    Qt Code:
    1. # cmake .
    2. CMake Error at /usr/share/cmake-2.8/Modules/FindQt4.cmake:1148 (MESSAGE):
    3. Qt qmake not found!
    4. Call Stack (most recent call first):
    5. CMakeLists.txt:7 (FIND_PACKAGE)
    6.  
    7.  
    8. -- Configuring incomplete, errors occurred!
    To copy to clipboard, switch view to plain text mode 

    I tried adding qt4 or qmake-qt4 to the PATH, but the problem isn't fixed yet.
    Qt Code:
    1. export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/qt:/usr/lib/qt4:/usr/lib/qt3:/usr/share/qt4:/usr/share/qt3:/usr/share/qt:
    To copy to clipboard, switch view to plain text mode 
    How can I solve it?

    Your


    Added after 52 minutes:


    I found the problem
    The call
    _qt4_query_qmake(QT_VERSION QTVERSION)

    doesn't set QTVERSION

    if I replace
    IF("${QTVERSION}" MATCHES "Unknown")
    with
    IF(NOT $QTVERSION)
    then it will work fine

    Last edited by saman_artorious; 10th July 2012 at 18:38.

Similar Threads

  1. Detect whether a server requires SSL connection
    By mentalmushroom in forum Qt Programming
    Replies: 0
    Last Post: 24th May 2012, 12:40
  2. using qmake for building app which requires non-qt libs.
    By coding_neo in forum Qt Programming
    Replies: 1
    Last Post: 4th October 2011, 11:37
  3. qt-4.5.0 requires glibc>=2.3.2?
    By mailtome in forum Installation and Deployment
    Replies: 1
    Last Post: 9th April 2009, 04:33
  4. qmake -query and installation directories
    By elemings in forum Installation and Deployment
    Replies: 3
    Last Post: 24th February 2009, 19:37

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.