how to install the QWT library for Qt creator on windows server 12 (development server)
-
-
-
-
@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 -
@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 yes, It said "Setting up the environment for Qt usage.... " thats all, next what has to be done?
-
@jsulm yes, It said "Setting up the environment for Qt usage.... " thats all, next what has to be done?
@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"@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. -
@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.@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?
-
@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?
@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."
-
@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."
-
@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."
-
@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@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.