Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QtGui: No such file or directory
QtWS25 Last Chance

QtGui: No such file or directory

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 2.1k Views
  • 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.
  • X Offline
    X Offline
    Xiaodi
    wrote on last edited by
    #1

    Hi, I'm a beginner of Qt. I have installed Qt5.10.1 in Ubuntu16.04. After that I compile a software("GLE graphics") step by step. However, when I type make in the terminal, it occurs error. I paste the errors in the following, can someone tell me how should I fix this problem?

    make[1]: Entering directory '/opt/gle-graphics-4.2.5/src/gui'
    /usr/bin/qmake-qt4 
    make
    make[2]: Entering directory '/opt/gle-graphics-4.2.5/src/gui'
    g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I/usr/X11R6/include -Imoc -o objects/about.o about.cpp
    about.cpp:26:17: fatal error: QtGui: No such file or directory   # Here is the error!!!!!
    compilation terminated.
    Makefile:849: recipe for target 'objects/about.o' failed
    make[2]: *** [objects/about.o] Error 1
    make[2]: Leaving directory '/opt/gle-graphics-4.2.5/src/gui'
    MakefileAC:86: recipe for target 'domake' failed
    make[1]: *** [domake] Error 2
    make[1]: Leaving directory '/opt/gle-graphics-4.2.5/src/gui'
    Makefile:153: recipe for target 'make_all' failed
    make: *** [make_all] Error 2
    

    Thanks in advance!
    Xiaodi

    JonBJ 1 Reply Last reply
    0
    • X Xiaodi

      Hi, I'm a beginner of Qt. I have installed Qt5.10.1 in Ubuntu16.04. After that I compile a software("GLE graphics") step by step. However, when I type make in the terminal, it occurs error. I paste the errors in the following, can someone tell me how should I fix this problem?

      make[1]: Entering directory '/opt/gle-graphics-4.2.5/src/gui'
      /usr/bin/qmake-qt4 
      make
      make[2]: Entering directory '/opt/gle-graphics-4.2.5/src/gui'
      g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I. -I/usr/X11R6/include -Imoc -o objects/about.o about.cpp
      about.cpp:26:17: fatal error: QtGui: No such file or directory   # Here is the error!!!!!
      compilation terminated.
      Makefile:849: recipe for target 'objects/about.o' failed
      make[2]: *** [objects/about.o] Error 1
      make[2]: Leaving directory '/opt/gle-graphics-4.2.5/src/gui'
      MakefileAC:86: recipe for target 'domake' failed
      make[1]: *** [domake] Error 2
      make[1]: Leaving directory '/opt/gle-graphics-4.2.5/src/gui'
      Makefile:153: recipe for target 'make_all' failed
      make: *** [make_all] Error 2
      

      Thanks in advance!
      Xiaodi

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Xiaodi
      You "have installed Qt5.10.1", but the whole qmake is for Qt 4? That does not look good....

      X 1 Reply Last reply
      1
      • JonBJ JonB

        @Xiaodi
        You "have installed Qt5.10.1", but the whole qmake is for Qt 4? That does not look good....

        X Offline
        X Offline
        Xiaodi
        wrote on last edited by
        #3

        @JonB
        This software "GLE graphics" uses qmake-qt4 automatically for compiling. So, does it mean, I should install a Qt4?

        JKSHJ 1 Reply Last reply
        0
        • X Xiaodi

          @JonB
          This software "GLE graphics" uses qmake-qt4 automatically for compiling. So, does it mean, I should install a Qt4?

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @Xiaodi said in QtGui: No such file or directory:

          This software "GLE graphics" uses qmake-qt4 automatically for compiling. So, does it mean, I should install a Qt4?

          Yes.

          Qt 5 is not compatible with Qt 4.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          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