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. Qt3DExtras: No such file or directory
QtWS25 Last Chance

Qt3DExtras: No such file or directory

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 1.0k 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.
  • V Offline
    V Offline
    vitaliy2034
    wrote on last edited by
    #1

    Hello guys)
    Problem:
    I can’t connect Qt3DExtras, although when I connect this module in the .pro file it doesn’t give an error. Examples do not work either.
    What was done:
    I installed qt3d5-dev and qt3d5-dev-tools. This did not give effect.
    Then I installed everything related to qt3d, with the command:
    "sudo apt install qt3d *"
    Nothing has changed either.
    System:
    Description: Ubuntu 19.10
    Release: 19.10
    Codename: eoan
    qtCreator: 4.8.2
    Qt 5: 5.12.4

    Please help me I have no ideas.

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

      Hi and welcome to devnet,

      What does your .pro file contain ?

      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
      2
      • V Offline
        V Offline
        vitaliy2034
        wrote on last edited by SGaist
        #3

        I do not think this problem is related to this, since the examples (simple-cpp and basicshapes-cpp) give the same error. This is *.pro file:

        QT       += 3dcore 3dlogic 3dextras 3dinput
        greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
        
        CONFIG += c++11
        
        DEFINES += QT_DEPRECATED_WARNINGS
        
        SOURCES += \
            main.cpp
        
        HEADERS +=
        
        qnx: target.path = /tmp/$${TARGET}/bin
        else: unix:!android: target.path = /opt/$${TARGET}/bin
        !isEmpty(target.path): INSTALLS += target
        
        KroMignonK 1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          What exact error do you get ?

          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
          • V vitaliy2034

            I do not think this problem is related to this, since the examples (simple-cpp and basicshapes-cpp) give the same error. This is *.pro file:

            QT       += 3dcore 3dlogic 3dextras 3dinput
            greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
            
            CONFIG += c++11
            
            DEFINES += QT_DEPRECATED_WARNINGS
            
            SOURCES += \
                main.cpp
            
            HEADERS +=
            
            qnx: target.path = /tmp/$${TARGET}/bin
            else: unix:!android: target.path = /opt/$${TARGET}/bin
            !isEmpty(target.path): INSTALLS += target
            
            KroMignonK Offline
            KroMignonK Offline
            KroMignon
            wrote on last edited by KroMignon
            #5

            @vitaliy2034 said in Qt3DExtras: No such file or directory:

            SOURCES +=
            main.cpp

            Is it an editor error? There should be as backslash, like this:

            SOURCES += \
                main.cpp
            

            It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

            SGaistS 1 Reply Last reply
            1
            • KroMignonK KroMignon

              @vitaliy2034 said in Qt3DExtras: No such file or directory:

              SOURCES +=
              main.cpp

              Is it an editor error? There should be as backslash, like this:

              SOURCES += \
                  main.cpp
              
              SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @KroMignon Missing coding quotes but still, the HEADERS seems to be empty.

              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
              2
              • V Offline
                V Offline
                vitaliy2034
                wrote on last edited by
                #7

                I have found solution!!! After reinstalling system all work fine. To my mind It was the HDD problem.

                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