Skip to content
ShowFL edited this page Sep 21, 2019 · 2 revisions

How to build

1. Dynamic library (.dll, .so, .dylib)

  1. Clone project,Open toou-2d.pro with Qt Creator
  2. Build
  3. Run

At this point the static library is compiled and automatically installed into the Qt Qml directory. Other projects can be Shared without additional configuration.

2. Static library (.a)

  1. Clone project,Open toou-2d.pro with Qt Creator
  2. Edit the file ‘src-toou2d/Toou2D.pro’ Line 9 is modified to CONFIG += staticlib
  3. Open file example/example.pro Uncomment and follow the steps.
  4. Build
  5. Run

Static library builds cannot be Shared with other projects. Static library links need to be configured in each project pro file. For other projects, please refer to step 3

注意:

Avoid conflicts due to temporary file redundancy.

  • Clean up your project before you build.
  • Release Debug Please clean up the project after change.
Clone this wiki locally