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. Qwt Library add to Qt6/CMake Project Error
QtWS25 Last Chance

Qwt Library add to Qt6/CMake Project Error

Scheduled Pinned Locked Moved Unsolved General and Desktop
qwtexteranl toolslibrary not loalibrary not defubuntu
7 Posts 3 Posters 455 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.
  • J Offline
    J Offline
    Joe von Habsburg
    wrote on last edited by
    #1

    Hi, I want to add Qwt-lib to my Qt6/CMake project (linux/ubuntu) but when I add it to my CmakeList.txt file, qt cannot find the Qwt lib. I have compiled Qwt, but I can't access the lib. I don't know much about adding external libs to my Qt project, can you help me?

    7ea43d6d-d7cc-4a66-9785-ff77002702ae-image.png

    fd95fca5-16d2-4b8f-b955-2182ed12e4f0-image.png

    64adaa20-ac0c-4a07-b3df-0c1e22092b49-image.png

    jsulmJ 1 Reply Last reply
    0
    • J Joe von Habsburg

      Hi, I want to add Qwt-lib to my Qt6/CMake project (linux/ubuntu) but when I add it to my CmakeList.txt file, qt cannot find the Qwt lib. I have compiled Qwt, but I can't access the lib. I don't know much about adding external libs to my Qt project, can you help me?

      7ea43d6d-d7cc-4a66-9785-ff77002702ae-image.png

      fd95fca5-16d2-4b8f-b955-2182ed12e4f0-image.png

      64adaa20-ac0c-4a07-b3df-0c1e22092b49-image.png

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

      @Joe-von-Habsburg Did you install Qwt?

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

      J 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Joe-von-Habsburg Did you install Qwt?

        J Offline
        J Offline
        Joe von Habsburg
        wrote on last edited by
        #3

        @jsulm said in Qwt Library add to Qt6/CMake Project Error:

        Did you install Qwt?

        yes I installed it from https://sourceforge.net/projects/qwt/files/qwt/6.3.0/ and I compiled it with command line (qmake qwt.pro && make && sudo make install)

        @Joe-von-Habsburg said in Qwt Library add to Qt6/CMake Project Error:

        I have compiled Qwt

        4ebca5ca-0b2d-4d26-9881-2bb9fbbe6fa7-image.png

        jsulmJ 1 Reply Last reply
        0
        • J Joe von Habsburg

          @jsulm said in Qwt Library add to Qt6/CMake Project Error:

          Did you install Qwt?

          yes I installed it from https://sourceforge.net/projects/qwt/files/qwt/6.3.0/ and I compiled it with command line (qmake qwt.pro && make && sudo make install)

          @Joe-von-Habsburg said in Qwt Library add to Qt6/CMake Project Error:

          I have compiled Qwt

          4ebca5ca-0b2d-4d26-9881-2bb9fbbe6fa7-image.png

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

          @Joe-von-Habsburg You should do what the error message suggest you

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

          J 1 Reply Last reply
          1
          • jsulmJ jsulm

            @Joe-von-Habsburg You should do what the error message suggest you

            J Offline
            J Offline
            Joe von Habsburg
            wrote on last edited by
            #5

            @jsulm said in Qwt Library add to Qt6/CMake Project Error:

            error message

            cmake can't find qwt. can you help me how to add to the cmakelist.txt file?

            image.png

            jsulmJ 1 Reply Last reply
            0
            • J Joe von Habsburg

              @jsulm said in Qwt Library add to Qt6/CMake Project Error:

              error message

              cmake can't find qwt. can you help me how to add to the cmakelist.txt file?

              image.png

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

              @Joe-von-Habsburg Again: do what the error message you posted suggested you to do! Did you actually read it?

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

              1 Reply Last reply
              1
              • K Offline
                K Offline
                kuzulis
                Qt Champions 2020
                wrote on last edited by
                #7

                AFAIK, the qwt do not published wit the cmake support. It has only the qmake configuration.

                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