how to install the QWT library for Qt creator on windows server 12 (development server)
-
@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.
-
@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.
@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" -
@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.