2010-02-03

Build Qt State Machine Framework as a Static Library

If qt state machine package is by default built as dynamical library, the steps below shows how to build its static version.
  • >wget ftp://ftp.trolltech.com/qt/solutions/lgpl/qtstatemachine-1.1-opensource.tar.gz
  • >tar xvfz qtstatemachine-1.1-opensource.tar.gz
  • >edit buildlib/buildlib.pro change CONFIG += dll to CONFIG +=staticlib
  • >qmake qtstatemachine.pro
  • >make
  • static library is build at lib/libQtSolutions_StateMachineFramework-1.1.a.

No comments:

Post a Comment