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.9k 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 Yeah, I did click on the qmake.exe, It executed some auto cmds and the mingw32-make.exe did flash and auto closed, I don't know what to do.

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

    @thippu Please don't click anything! You need to use the command line, not the mouse. So, download and extract the QWT source code (or check it out from Git). Create a directory (lets say build_dir) and go there:

    cd c:\build_dir
    c:\Qt\5.11.1\mingw53_32\bin\qmake.exe c:\qwt_src\qwt.pro
    c:\Qt\Tools\mingw530_32\bin\mingw32-make.exe
    c:\Qt\Tools\mingw530_32\bin\mingw32-make.exe install
    

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

    T 2 Replies Last reply
    3
    • jsulmJ jsulm

      @thippu Please don't click anything! You need to use the command line, not the mouse. So, download and extract the QWT source code (or check it out from Git). Create a directory (lets say build_dir) and go there:

      cd c:\build_dir
      c:\Qt\5.11.1\mingw53_32\bin\qmake.exe c:\qwt_src\qwt.pro
      c:\Qt\Tools\mingw530_32\bin\mingw32-make.exe
      c:\Qt\Tools\mingw530_32\bin\mingw32-make.exe install
      
      T Offline
      T Offline
      thippu
      wrote on last edited by
      #8

      @jsulm I could not get what I have to do after the cd cmd from your comment.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by SGaist
        #9

        Hi,

        Write the commands one line after the other as @jsulm shows in his post.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @thippu Please don't click anything! You need to use the command line, not the mouse. So, download and extract the QWT source code (or check it out from Git). Create a directory (lets say build_dir) and go there:

          cd c:\build_dir
          c:\Qt\5.11.1\mingw53_32\bin\qmake.exe c:\qwt_src\qwt.pro
          c:\Qt\Tools\mingw530_32\bin\mingw32-make.exe
          c:\Qt\Tools\mingw530_32\bin\mingw32-make.exe install
          
          T Offline
          T Offline
          thippu
          wrote on last edited by
          #10

          @SGaist , @jsulm could you clarify "c:\Qt\5.11.1\mingw53_32\bin\qmake.exe" and "c:\qwt_src\qwt.pro" are to be executed on same line ?

          jsulmJ 1 Reply Last reply
          0
          • T thippu

            @SGaist , @jsulm could you clarify "c:\Qt\5.11.1\mingw53_32\bin\qmake.exe" and "c:\qwt_src\qwt.pro" are to be executed on same line ?

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

            @thippu

            c:\Qt\5.11.1\mingw53_32\bin\qmake.exe c:\qwt_src\qwt.pro
            

            here you're calling qmake.exe and give it c:\qwt_src\qwt.pro as parameter...

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

            T 1 Reply Last reply
            0
            • jsulmJ jsulm

              @thippu

              c:\Qt\5.11.1\mingw53_32\bin\qmake.exe c:\qwt_src\qwt.pro
              

              here you're calling qmake.exe and give it c:\qwt_src\qwt.pro as parameter...

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

              @jsulm I did execute second line "c:\Qt\5.11.1\mingw53_32\bin\qmake.exe c:\qwt_src\qwt.pro" on build_dir output is project ERROR: cannot run the compiler "g++' , output : g++ not recongnized as internal or external command,

              **I do I have to execute the second line in c:\Qt\5.11.1\mingw53_32\bin **

              jsulmJ 1 Reply Last reply
              0
              • T thippu

                @jsulm I did execute second line "c:\Qt\5.11.1\mingw53_32\bin\qmake.exe c:\qwt_src\qwt.pro" on build_dir output is project ERROR: cannot run the compiler "g++' , output : g++ not recongnized as internal or external command,

                **I do I have to execute the second line in c:\Qt\5.11.1\mingw53_32\bin **

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

                @thippu Press Win key on your keyboard and enter "MinGW" you will get a short-cut to a CMD window which prepares the environment to use MinGW. Execute all the commands in this CMD.

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

                T 1 Reply Last reply
                0
                • jsulmJ jsulm

                  @thippu Press Win key on your keyboard and enter "MinGW" you will get a short-cut to a CMD window which prepares the environment to use MinGW. Execute all the commands in this CMD.

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

                  @jsulm Sorry to say this, Qt environment has been installed on the D: because of disk full in the C:,
                  I did press the Win and typed the MinGW but It is not getting popped.
                  what to do?

                  jsulmJ 1 Reply Last reply
                  0
                  • T thippu

                    @jsulm Sorry to say this, Qt environment has been installed on the D: because of disk full in the C:,
                    I did press the Win and typed the MinGW but It is not getting popped.
                    what to do?

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

                    @thippu If it is on D then simply replace C with D in the path.
                    The CMD is located in d:\Qt\5.11.1\mingw53_32\bin\qtenv2.bat

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

                    T 2 Replies Last reply
                    0
                    • jsulmJ jsulm

                      @thippu If it is on D then simply replace C with D in the path.
                      The CMD is located in d:\Qt\5.11.1\mingw53_32\bin\qtenv2.bat

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

                      @jsulm I have done it in the address.

                      1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        @thippu If it is on D then simply replace C with D in the path.
                        The CMD is located in d:\Qt\5.11.1\mingw53_32\bin\qtenv2.bat

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

                        @jsulm shall I execute cmd "qtenv2.bat" on "d:\Qt\5.11.1\mingw53_32\bin" ?

                        jsulmJ 1 Reply Last reply
                        0
                        • T thippu

                          @jsulm shall I execute cmd "qtenv2.bat" on "d:\Qt\5.11.1\mingw53_32\bin" ?

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

                          @thippu Yes, double click it...

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

                          T 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            @thippu Yes, double click it...

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

                            @jsulm yes, It said "Setting up the environment for Qt usage.... " thats all, next what has to be done?

                            jsulmJ JKSHJ 2 Replies Last reply
                            0
                            • T thippu

                              @jsulm yes, It said "Setting up the environment for Qt usage.... " thats all, next what has to be done?

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

                              @thippu I already said that you need to enter all the commands I mentioned above in that CMD window...

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

                              1 Reply Last reply
                              1
                              • T thippu

                                @jsulm yes, It said "Setting up the environment for Qt usage.... " thats all, next what has to be done?

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

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

                                next what has to be done?

                                First, spend some time to learn how to use the Command Prompt. Example tutorial: https://www.youtube.com/watch?v=MBBWVgE0ewk

                                After you learn how to use the Command Prompt, read through @jsulm's instructions again; they should be clearer then.

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

                                1 Reply Last reply
                                3
                                • T Offline
                                  T Offline
                                  thippu
                                  wrote on last edited by
                                  #22

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

                                  jsulmJ 1 Reply Last reply
                                  0
                                  • 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

                                          • Login

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