Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Missing variable is: QT_UIC_EXECUTABLE
Forum Updated to NodeBB v4.3 + New Features

Missing variable is: QT_UIC_EXECUTABLE

Scheduled Pinned Locked Moved General and Desktop
cmake
4 Posts 2 Posters 2.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • _ Offline
    _ Offline
    ___Jan___
    wrote on last edited by
    #1

    Hello

    I am using QT in a CMake Project. I tried switching to QT5 from QT4 today. My Os is Ubuntu 14.04.01

    When trying to call cmake .. I get the following CMake error:

    CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
    Missing variable is:
    QT_UIC_EXECUTABLE

    qmake --version:
    QMake version 3.0
    Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

    Thanks
    Jan

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Are you following the Qt 5 cmake guide ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • _ Offline
        _ Offline
        ___Jan___
        wrote on last edited by
        #3

        Yes I do, solved the first problem. I use QT with VTK. Not sure where the error was but now after recompilation of VTK with QT I get now the following error:

        in QT 4.8 I used QWebView without problems

        Now I get
        error: ‘QWebView’ does not name a type
        QWebView * qwebview;

        I tried adding WebView as Component but
        find_package (Qt5 REQUIRED COMPONENTS Widgets Core WebView)
        but that was wrong.
        I dont know how to find the name for the proper Module.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Are you using QtWebKit ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved