Solved how to install the QWT library for Qt creator on windows server 12 (development server)
-
Hi Guys,
I would like to install the QWT library on the windows server 12, because I'm using it right now for the development purpose, On that, I could not find the MinGw administrative compiler, But I do have QT creator installed and working fine, So Please help me how to install it? -
@thippu said in how to install the QWT library for Qt creator on windows server 12 (development server):
MinGw administrative compiler
What is this?
Installation is described here: http://qwt.sourceforge.net/#installonmainpage
-
@jsulm I have seen this, but It needs the Qt MinGw compiler and I can't find it in the start button windows server 2012 so I need the help from you guys to find out.
-
@thippu said in how to install the QWT library for Qt creator on windows server 12 (development server):
can't find it in the start button windows server 2012
You don't need the Start button for that (a compiler is a command line tool, and you do not need to call it directly).
See here: http://qwt.sourceforge.net/qwtinstall.html
You just need to use qmake.exe from your MinGW Qt installation (c:\Qt\5.11.1\mingw53_32\bin\qmake.exe). And then mingw32-make from your MinGW set-up (usually c:\Qt\Tools\mingw530_32\bin\mingw32-make.exe). -
@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...