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. how to install the QWT library for Qt creator on windows server 12 (development server)
Forum Updated to NodeBB v4.3 + New Features

how to install the QWT library for Qt creator on windows server 12 (development server)

Scheduled Pinned Locked Moved Solved General and Desktop
33 Posts 4 Posters 9.6k 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 thippu

    @jsulm , QWT has been installed in C: drive and I copied qwt folder to D: drive, what I have to do next?

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

    @thippu It shouldn't be installed on C drive if your Qt is installed on D.
    You executed

    d:\Qt\Tools\mingw530_32\bin\mingw32-make.exe install
    

    ?
    But if it is now installed then you should be able to use it in your project.

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

    T 1 Reply Last reply
    1
    • jsulmJ jsulm

      @thippu It shouldn't be installed on C drive if your Qt is installed on D.
      You executed

      d:\Qt\Tools\mingw530_32\bin\mingw32-make.exe install
      

      ?
      But if it is now installed then you should be able to use it in your project.

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

      @jsulm , Yes buddy it got installed on c: drive.
      In a project file .pro, I did add CONFIG+= qwt and execute qmake and it is successful but if do #include<qwt_plot> and build it says "qwt_plot:No such file or directory"

      JKSHJ 1 Reply Last reply
      0
      • T thippu

        @jsulm , Yes buddy it got installed on c: drive.
        In a project file .pro, I did add CONFIG+= qwt and execute qmake and it is successful but if do #include<qwt_plot> and build it says "qwt_plot:No such file or directory"

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #25

        @thippu said in how to install the QWT library for Qt creator on windows server 12 (development server):

        In a project file .pro, I did add CONFIG+= qwt and execute qmake and it is successful but if do #include<qwt_plot> and build it says "qwt_plot:No such file or directory"

        See "Building a Qwt Application" at http://qwt.sourceforge.net/qwtinstall.html#COMPILEANDLINKAPP

        I recommend adding the include() command to your .pro file.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        T 1 Reply Last reply
        2
        • JKSHJ JKSH

          @thippu said in how to install the QWT library for Qt creator on windows server 12 (development server):

          In a project file .pro, I did add CONFIG+= qwt and execute qmake and it is successful but if do #include<qwt_plot> and build it says "qwt_plot:No such file or directory"

          See "Building a Qwt Application" at http://qwt.sourceforge.net/qwtinstall.html#COMPILEANDLINKAPP

          I recommend adding the include() command to your .pro file.

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

          @JKSH , I did "include (${QWT_ROOT}/features/qwt.prf)" in the .pro file and pressed ctrl+s and it did parse successfully and but in the general message it says that
          "Cannot read C:/Users/thippeswamy.dc/Documents/qwt_file3/${QWT_ROOT}/features/qwt.prf:No such file or directory"

          Is there any path error here?

          JKSHJ 1 Reply Last reply
          0
          • T thippu

            @JKSH , I did "include (${QWT_ROOT}/features/qwt.prf)" in the .pro file and pressed ctrl+s and it did parse successfully and but in the general message it says that
            "Cannot read C:/Users/thippeswamy.dc/Documents/qwt_file3/${QWT_ROOT}/features/qwt.prf:No such file or directory"

            Is there any path error here?

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #27

            @thippu said in how to install the QWT library for Qt creator on windows server 12 (development server):

            @JKSH , I did "include (${QWT_ROOT}/features/qwt.prf)" in the .pro file and pressed ctrl+s and it did parse successfully and but in the general message it says that
            "Cannot read C:/Users/thippeswamy.dc/Documents/qwt_file3/${QWT_ROOT}/features/qwt.prf:No such file or directory"

            Is there any path error here?

            http://qwt.sourceforge.net/qwtinstall.html says "For the rest of the document this install path will be written as ${QWT_ROOT} and needs to be replaced by the real path in all commands below."

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            T 2 Replies Last reply
            2
            • JKSHJ JKSH

              @thippu said in how to install the QWT library for Qt creator on windows server 12 (development server):

              @JKSH , I did "include (${QWT_ROOT}/features/qwt.prf)" in the .pro file and pressed ctrl+s and it did parse successfully and but in the general message it says that
              "Cannot read C:/Users/thippeswamy.dc/Documents/qwt_file3/${QWT_ROOT}/features/qwt.prf:No such file or directory"

              Is there any path error here?

              http://qwt.sourceforge.net/qwtinstall.html says "For the rest of the document this install path will be written as ${QWT_ROOT} and needs to be replaced by the real path in all commands below."

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

              @JKSH , okay

              I did replace with include(D:/Qt/Qwt-6.1.3/features/qwt.prf) in the .pro file parsing successful but if I build same error "no such directory"'
              please help me

              JKSHJ 1 Reply Last reply
              0
              • JKSHJ JKSH

                @thippu said in how to install the QWT library for Qt creator on windows server 12 (development server):

                @JKSH , I did "include (${QWT_ROOT}/features/qwt.prf)" in the .pro file and pressed ctrl+s and it did parse successfully and but in the general message it says that
                "Cannot read C:/Users/thippeswamy.dc/Documents/qwt_file3/${QWT_ROOT}/features/qwt.prf:No such file or directory"

                Is there any path error here?

                http://qwt.sourceforge.net/qwtinstall.html says "For the rest of the document this install path will be written as ${QWT_ROOT} and needs to be replaced by the real path in all commands below."

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

                @JKSH , @jsulm @SGaist include(full path) created qwt folder and also qwt.prf,qwtconfig and qwtfunctions in the project file but why I'm still getting qwt_plot.h : No such file or directory? what to do ? please help me

                1 Reply Last reply
                0
                • T thippu

                  @JKSH , okay

                  I did replace with include(D:/Qt/Qwt-6.1.3/features/qwt.prf) in the .pro file parsing successful but if I build same error "no such directory"'
                  please help me

                  JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by JKSH
                  #30

                  @thippu said in how to install the QWT library for Qt creator on windows server 12 (development server):

                  same error "no such directory"'

                  The last few words of your error message remained the same, but the path should be different. Show us the full error message, containing the new error path.

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  T 1 Reply Last reply
                  0
                  • JKSHJ JKSH

                    @thippu said in how to install the QWT library for Qt creator on windows server 12 (development server):

                    same error "no such directory"'

                    The last few words of your error message remained the same, but the path should be different. Show us the full error message, containing the new error path.

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

                    @JKSH from the compile o/p: qwt_plot.h: No such file or directory
                    compilation terminated.
                    mingw32-make[1]:***[debug/main.o] Error 1
                    mingw32-make: ** [debug] Error 2
                    the process "D:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"existed with code 2.
                    Erro while building /deploying project qwt_file3(kit: Desktop Qt 5.11.0 MinGW 32bit2)
                    when executing step "Make"

                    1 Reply Last reply
                    0
                    • JKSHJ Offline
                      JKSHJ Offline
                      JKSH
                      Moderators
                      wrote on last edited by JKSH
                      #32

                      @thippu Have a look inside qwtconfig.pri. The QWT_INSTALL_PREFIX variable is probably set to some folder in the C: drive (such as "C:/Qwt-6.1.3"). If that's the case, the compiler won't search your D: drive for qwt_plot.h.

                      Change the variable and try again.

                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                      1 Reply Last reply
                      4
                      • T Offline
                        T Offline
                        thippu
                        wrote on last edited by
                        #33

                        @jsulm , @SGaist , @JKSH , Thank you guys

                        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