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

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 470 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 6 Dec 2024, 07:36 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

    J 1 Reply Last reply 6 Dec 2024, 07:39
    0
    • J Joe von Habsburg
      6 Dec 2024, 07:36

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 6 Dec 2024, 07:39 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 6 Dec 2024, 07:47
      0
      • J jsulm
        6 Dec 2024, 07:39

        @Joe-von-Habsburg Did you install Qwt?

        J Offline
        J Offline
        Joe von Habsburg
        wrote on 6 Dec 2024, 07:47 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

        J 1 Reply Last reply 6 Dec 2024, 08:15
        0
        • J Joe von Habsburg
          6 Dec 2024, 07:47

          @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

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 6 Dec 2024, 08:15 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 6 Dec 2024, 08:23
          1
          • J jsulm
            6 Dec 2024, 08:15

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

            J Offline
            J Offline
            Joe von Habsburg
            wrote on 6 Dec 2024, 08:23 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

            J 1 Reply Last reply 6 Dec 2024, 09:23
            0
            • J Joe von Habsburg
              6 Dec 2024, 08:23

              @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

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 6 Dec 2024, 09:23 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 6 Dec 2024, 21:03 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

                4/7

                6 Dec 2024, 08:15

                • Login

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