Getting started with wxWidgets and CLion?

2020-04-10 00:56发布

问题:

Can anyone suggest a tutorial or getting started guide to CLion and wxWdgets? I have searched around but am unable to find anything.

回答1:

Well,

  1. you should download WxWidgets here http://www.wxwidgets.org/downloads/.
  2. Then, you should compile and install to your system.
  3. Download and install CLion.
  4. Create new Project.
  5. Then, follow to this edit your CMakeLists.txt Building wxWidgets 3.1.0 on CLion (Ubuntu)
  6. Then try Hello World sample http://docs.wxwidgets.org/trunk/overview_helloworld.html.
  7. If everything okay, start to develop great apps!