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. Could not able to run the project error"mingw32/bin/ld.exe: cannot find -lqwt-qt5
Forum Updated to NodeBB v4.3 + New Features

Could not able to run the project error"mingw32/bin/ld.exe: cannot find -lqwt-qt5

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 4 Posters 1.7k Views 2 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.
  • T Offline
    T Offline
    thippu
    wrote on last edited by thippu
    #1

    Hi,

    1. I downloaded qt/qwt project from github.
    2. I was trying to run the project but could not able to run.
      [Error pics](https://ibb.co/crpQjZJ
      https://ibb.co/LdL0qNr)
    3. how to run it?
    4. I'm using windows os and Qt Creator 4.6.0 and Qt framework : 5.10.1
    K 1 Reply Last reply
    0
    • T thippu

      Hi,

      1. I downloaded qt/qwt project from github.
      2. I was trying to run the project but could not able to run.
        [Error pics](https://ibb.co/crpQjZJ
        https://ibb.co/LdL0qNr)
      3. how to run it?
      4. I'm using windows os and Qt Creator 4.6.0 and Qt framework : 5.10.1
      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @thippu

      You need to build and install qwt lib before you can use it. https://qwt.sourceforge.io/qwtinstall.html

      Vote the answer(s) that helped you to solve your issue(s)

      T 1 Reply Last reply
      2
      • K koahnig

        @thippu

        You need to build and install qwt lib before you can use it. https://qwt.sourceforge.io/qwtinstall.html

        T Offline
        T Offline
        thippu
        wrote on last edited by
        #3

        @koahnig I have bro, using previously installed qwt and build was successful.

        aha_1980A 1 Reply Last reply
        0
        • T thippu

          @koahnig I have bro, using previously installed qwt and build was successful.

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @thippu and how did you install it? and to where?

          Qt has to stay free or it will die.

          T 1 Reply Last reply
          1
          • aha_1980A aha_1980

            @thippu and how did you install it? and to where?

            T Offline
            T Offline
            thippu
            wrote on last edited by
            #5

            @aha_1980 I did install QWT with the help
            2) For all QWT library includes or header file includes, I did include("path\qwt.prf") in a .pro file.

            Pablo J. RoginaP 1 Reply Last reply
            0
            • T thippu

              @aha_1980 I did install QWT with the help
              2) For all QWT library includes or header file includes, I did include("path\qwt.prf") in a .pro file.

              Pablo J. RoginaP Offline
              Pablo J. RoginaP Offline
              Pablo J. Rogina
              wrote on last edited by
              #6

              @thippu did you check that the place where your libqwt-qt5.dll (I'm guessing the name for Windows...) is installed actually matches any of the location(s) provided by include file "path\qwt.prf"?

              Upvote the answer(s) that helped you solve the issue
              Use "Topic Tools" button to mark your post as Solved
              Add screenshots via postimage.org
              Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

              T 1 Reply Last reply
              5
              • Pablo J. RoginaP Pablo J. Rogina

                @thippu did you check that the place where your libqwt-qt5.dll (I'm guessing the name for Windows...) is installed actually matches any of the location(s) provided by include file "path\qwt.prf"?

                T Offline
                T Offline
                thippu
                wrote on last edited by
                #7

                @Pablo-J.-Rogina You are right, I checked it and I have the filenames as libqwt.a and libqwtd.a

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  thippu
                  wrote on last edited by
                  #8

                  @Pablo-J.-Rogina Thank you, I figured it out and corrected the place and it started the build and run.
                  O/P

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    thippu
                    wrote on last edited by
                    #9

                    Solution: 1) comment on lines of .pro file of the project.
                    before commenting: Image
                    and
                    after commenting:Image

                    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