Solved how to install the QWT library for Qt creator on windows server 12 (development server)
-
@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.
-
@thippu Buddy, could you see this link and tell me where I have to correct myself?
https://www.youtube.com/watch?v=ZqFKwF6q7jQ&t=109s -
@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
-
@jsulm I could not get what I have to do after the cd cmd from your comment.
-
Hi,
Write the commands one line after the other as @jsulm shows in his post.
-
-
-
-
@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.
-
@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? -
@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 -
@jsulm I have done it in the address.
-
@jsulm shall I execute cmd "qtenv2.bat" on "d:\Qt\5.11.1\mingw53_32\bin" ?
-
@thippu Yes, double click it...
-
@jsulm yes, It said "Setting up the environment for Qt usage.... " thats all, next what has to be done?
-
@thippu I already said that you need to enter all the commands I mentioned above in that CMD window...
-
@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.
-
@jsulm , QWT has been installed in C: drive and I copied qwt folder to D: drive, what I have to do next?
-
@thippu It shouldn't be installed on C drive if your Qt is installed on D.
You executedd:\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. -
@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"