Solved Prepare QWT library for editing source code
-
Hi,
I would like to modify source code of QWT library. It is quite big library and I would like to modify its QMake files to build app instead of a library and create there a
main.cpp
where I could test my changes.
Or if anyone has experience of modifying source code of some external library maybe could give me some hint how to do that?I don't know how to give more info about my problem, there is the link to this library: qwt_link
-
Use Qt Creator to open
qwt/src/src.pro
(https://sourceforge.net/p/qwt/code/HEAD/tree/trunk/qwt/src/src.pro )Replace
TEMPLATE = lib
withTEMPLATE = app
and add yourmain.cpp
. to the project. Now, you can build and run an application directly from the Qwt source code.When you have finished, I suggest contributing your changes back to the Qwt project if it is something useful to the community.
-
Use Qt Creator to open
qwt/src/src.pro
(https://sourceforge.net/p/qwt/code/HEAD/tree/trunk/qwt/src/src.pro )Replace
TEMPLATE = lib
withTEMPLATE = app
and add yourmain.cpp
. to the project. Now, you can build and run an application directly from the Qwt source code.When you have finished, I suggest contributing your changes back to the Qwt project if it is something useful to the community.
-
@JKSH thank you!