Re: install Qwt Qtcreator
here is how to modify your *.pro
enjoy ! :)
Re: install Qwt Qtcreator
hi to all user
at last i can find how can install and use "qwt" with "Qt creator" without any recompile creator !
it is very simple but need to remind one point
for using qwt you don't need to see it in qt creator widget list(left panel) BECAUSE:
1- you can create your form in qt "Qt Designer" .
2. add form to your project.
3. customize project pro file.
4.Compile and enjoy.
first download qwt-6.0.0-rc4
from sourcefoge, if it is not same as above version not important.
Do this step by step
1.)copy and unzip download file in C:\qwt-6.0.0-rc4
2.)open “C:\qwt-6.0.0-rc4\examples.proâ€
change “include( ../qwtconfig.pri ) “ =>
†include(qwtconfig.pri ) “
3.)Open “C:\qwt-6.0.0-rc4\ textengines\textengines.proâ€
change “include( ../qwtconfig.pri ) “ =>
†include(qwtconfig.pri ) “
4.)Open “C:\qwt-6.0.0-rc4\ qwt.pro†with “Qt Creator†Compile it in DEBUG mode
5.)if you see only some worning it is usually so don’t care;
6.) After compile complete
7.)goto “C:\ qwt-build-desktop \plugins\designer\designerâ€
8.)Copy “libqwt_designer_plugin.a†and “qwt_designer_plugin.dll†paste to
“[Qt install path]\qt\plugins\designerâ€
9.)goto “C:\ qwt-build-desktop\libâ€
10)copy “qwt.dll†to “[Qt install path]\qt\binâ€
11)copy “C:\qwt-build-desktop\lib\*†to “C:\qwt-6.0.0-rc4 \lib\*â€
Now you can use QWT Widget in your form at “Qt Designerâ€;
Now important place begin;
1.)create new project in qt and in wizard uncheck “Generate formâ€
2.)create your form in Qt Designer and save it in your project directory.
3.)Add Your designed form to your project.
4.)add this lines to your project pro file
INCLUDEPATH += C:/qwt-6.0.0-rc4/src
win32:LIBS += C:/qwt-6.0.0-rc4/lib/libqwtd.a
win32:QMAKE_POST_LINK = copy /Y C:\qwt-6.0.0-rc4\lib\qwtd.dll $(DESTDIR)
CONFIG +=qwt
If you run in debug mode red word stay
If you run in Release mode then “libqwtd=libqwt†and “qwtd=qwtâ€:cool:
Re: install Qwt Qtcreator
Hi
I have tried the steps you described here but I get an error as can be seen in the following compiler output. Can you help?
Running build steps for project qwt...
Configuration unchanged, skipping qmake step.
Starting: "C:/NokiaQtSDK/mingw/bin/mingw32-make.exe" -w
mingw32-make: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator'
cd src\ && C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'
C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile.Debug all
mingw32-make[2]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'
mingw32-make[2]: Nothing to be done for `all'.
mingw32-make[2]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'
C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile.Release all
mingw32-make[2]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'
mingw32-make[2]: Nothing to be done for `all'.
mingw32-make[2]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'
mingw32-make[1]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'
cd textengines\ && C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/textengines'
mingw32-make[1]: Nothing to be done for `first'.
mingw32-make[1]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/textengines'
cd designer\ && C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/designer'
C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile.Debug all
mingw32-make[2]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/designer'
linking plugins\designer\qwt_designer_plugin.dll
mingw32-make[2]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/designer'
mingw32-make[1]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/designer'
mingw32-make: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator'
c:/nokiaqtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lQtDesignerd
collect2: ld returned 1 exit status
mingw32-make[2]: *** [plugins\designer\qwt_designer_plugin.dll] Error 1
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make: *** [sub-designer-make_default-ordered] Error 2
The process "C:/NokiaQtSDK/mingw/bin/mingw32-make.exe" exited with code %2.
Error while building project qwt (target: Qt Simulator)
When executing build step 'Make'
Re: install Qwt Qtcreator
Quote:
Originally Posted by
mpsoft
hi to all user
at last i can find how can install and use "qwt" with "Qt creator" without any recompile creator !
it is very simple but need to remind one point
for using qwt you don't need to see it in qt creator widget list(left panel) BECAUSE:
1- you can create your form in qt "Qt Designer" .
2. add form to your project.
3. customize project pro file.
4.Compile and enjoy.
first download qwt-6.0.0-rc4
from sourcefoge, if it is not same as above version not important.
Do this step by step
1.)copy and unzip download file in C:\qwt-6.0.0-rc4
2.)open “C:\qwt-6.0.0-rc4\examples.proâ€
change “include( ../qwtconfig.pri ) “ =>
†include(qwtconfig.pri ) “
3.)Open “C:\qwt-6.0.0-rc4\ textengines\textengines.proâ€
change “include( ../qwtconfig.pri ) “ =>
†include(qwtconfig.pri ) “
4.)Open “C:\qwt-6.0.0-rc4\ qwt.pro†with “Qt Creator†Compile it in DEBUG mode
5.)if you see only some worning it is usually so don’t care;
6.) After compile complete
7.)goto “C:\ qwt-build-desktop \plugins\designer\designerâ€
8.)Copy “libqwt_designer_plugin.a†and “qwt_designer_plugin.dll†paste to
“[Qt install path]\qt\plugins\designerâ€
9.)goto “C:\ qwt-build-desktop\libâ€
10)copy “qwt.dll†to “[Qt install path]\qt\binâ€
11)copy “C:\qwt-build-desktop\lib\*†to “C:\qwt-6.0.0-rc4 \lib\*â€
Now you can use QWT Widget in your form at “Qt Designerâ€;
Now important place begin;
1.)create new project in qt and in wizard uncheck “Generate formâ€
2.)create your form in Qt Designer and save it in your project directory.
3.)Add Your designed form to your project.
4.)add this lines to your project pro file
INCLUDEPATH += C:/qwt-6.0.0-rc4/src
win32:LIBS += C:/qwt-6.0.0-rc4/lib/libqwtd.a
win32:QMAKE_POST_LINK = copy /Y C:\qwt-6.0.0-rc4\lib\qwtd.dll $(DESTDIR)
CONFIG +=qwt
If you run in debug mode red word stay
If you run in Release mode then “libqwtd=libqwt†and “qwtd=qwtâ€:cool:
Hi, I did as you said but on step 5) I get an error: "Failed to start application: Starting executable failed: J:/Name/qwt-build-desktop/qwtbuild.exe: No such file or directory."
Please help
Re: install Qwt Qtcreator
Quote:
Originally Posted by
Badeand
Hi, I did as you said but on step ...
You will find much more useful threads in the archive than this one.
Uwe
Re: install Qwt Qtcreator
Quote:
Originally Posted by
Uwe
You will find much more useful threads in the archive than this one.
Uwe
Any suggestions? :P
Re: install Qwt Qtcreator
Thanks for the help mpsoft! Your tutorial worked great!
Just a note: I had to use Qt's Widget Promotion to use Qwt with Qt Designer (embedded in Qt Creator). It works with Qwt 6.0.1 and Qt 4.7.4 (the vanilla SDK download).
Thanks again!
Chris
Re: install Qwt Qtcreator
I get the same error:
error: cannot find -lQtDesignerd
Using:
QT4.7.4
QTCreator 2.3.0
Qwt 6.0.1
I followed the procedure above, but it does not work?!
Anybody any idea?
Help is greatly appreciated!
Re: install Qwt Qtcreator
I found a solution today:
- Installed the new bundle: 1.1.4 (instead of 1.1.3).
- Did the installation from a 'qwt shell' ( Start -> QT SDK -> Desktop -> QT 4.7....
Now it works!
Not sure which of the 2 did the job.