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. cannot find -lQt5Quick , -lQt5Qml and -lQt5XmlPatterns
Forum Updated to NodeBB v4.3 + New Features

cannot find -lQt5Quick , -lQt5Qml and -lQt5XmlPatterns

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 3 Posters 805 Views 1 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.
  • A Offline
    A Offline
    AkshayChoudhari
    wrote on last edited by
    #1

    Hi,
    I am getting the below error while building source code from the Ubuntu Terminal.
    /usr/bin/ld: cannot find -lQt5Quick
    /usr/bin/ld: cannot find -lQt5Qml
    /usr/bin/ld: cannot find -lQt5XmlPatterns

    Any pointers will be helpful. Thank you.

    CP71C 1 Reply Last reply
    0
    • A AkshayChoudhari

      Hi,
      I am getting the below error while building source code from the Ubuntu Terminal.
      /usr/bin/ld: cannot find -lQt5Quick
      /usr/bin/ld: cannot find -lQt5Qml
      /usr/bin/ld: cannot find -lQt5XmlPatterns

      Any pointers will be helpful. Thank you.

      CP71C Offline
      CP71C Offline
      CP71
      wrote on last edited by CP71
      #2

      @AkshayChoudhari
      try remove -l when you try to find the library on your system

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AkshayChoudhari
        wrote on last edited by
        #3

        @AkshayChoudhari said in cannot find -lQt5Quick , -lQt5Qml and -lQt5XmlPatterns:

        Qt5Qml

        .so file are present on below location: "/opt/Qt5.6.3/5.6.3/gcc_64/lib".
        But don't know why it is not found at compile time.

        CP71C 1 Reply Last reply
        0
        • A AkshayChoudhari

          @AkshayChoudhari said in cannot find -lQt5Quick , -lQt5Qml and -lQt5XmlPatterns:

          Qt5Qml

          .so file are present on below location: "/opt/Qt5.6.3/5.6.3/gcc_64/lib".
          But don't know why it is not found at compile time.

          CP71C Offline
          CP71C Offline
          CP71
          wrote on last edited by CP71
          #4

          @AkshayChoudhari
          Add in your PRO file
          QT *= quickwidgets qml quick

          Check, maybe not all keys are needed for you

          jsulmJ 1 Reply Last reply
          0
          • CP71C CP71

            @AkshayChoudhari
            Add in your PRO file
            QT *= quickwidgets qml quick

            Check, maybe not all keys are needed for you

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @CP71 said in cannot find -lQt5Quick , -lQt5Qml and -lQt5XmlPatterns:

            QT *= quickwidgets qml quick

            QT += quickwidgets qml quick
            

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            CP71C 1 Reply Last reply
            2
            • jsulmJ jsulm

              @CP71 said in cannot find -lQt5Quick , -lQt5Qml and -lQt5XmlPatterns:

              QT *= quickwidgets qml quick

              QT += quickwidgets qml quick
              
              CP71C Offline
              CP71C Offline
              CP71
              wrote on last edited by
              #6

              @jsulm
              Should give the same result.

              https://doc.qt.io/archives/qt-4.8/qmake-advanced-usage.html

              Please, See operators paragraph.

              I think I can do the same thing with QT

              jsulmJ 1 Reply Last reply
              1
              • CP71C CP71

                @jsulm
                Should give the same result.

                https://doc.qt.io/archives/qt-4.8/qmake-advanced-usage.html

                Please, See operators paragraph.

                I think I can do the same thing with QT

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @CP71 Yes, you're right. Never used *= so far :-)

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1

                • Login

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