- Notifications
You must be signed in to change notification settings - Fork390
wxFormBuilder/wxFormBuilder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
wxFormBuilder is a GUI builder for the wxWidgets framework.
Code generation is supported forC++,Python,Lua andPHP.Additionally, the import and export ofXRC code is possible.To support additional widgets, custom plugins can be used.
wxFormBuilder runs on Windows, various Linux distributions and macOS.
Building from source requires CMake version 3.21, if this version is not available in the package repositories of your operating system,theCMake website offers binary downloads for multiple platforms. wxFormBuilder uses thewxWidgets framework itself, it is highly recommended using the current stable version 3.2.x,the previous stable version 3.0.x is known to cause multiple issues and should be avoided.
Building on Windows has been tested withMSVC,Mingw-w64 andMSYS2 in 32 bit and 64 bit mode. Using MSYS2 is a bit more convenient because it offers the requiredlibraries precompiled and CMake can find them automatically. Using the other compilers it might be necessary to specify the librarylocations manually. The following instructions use MSYS2.
Install MSYS2 and open a MINGW32 or MINGW64 shell.
Installing the Prerequisites:
pacman -Syupacman -S${MINGW_PACKAGE_PREFIX}-toolchain${MINGW_PACKAGE_PREFIX}-cmake${MINGW_PACKAGE_PREFIX}-make base-devel gitpacman -S${MINGW_PACKAGE_PREFIX}-wxWidgets3.2${MINGW_PACKAGE_PREFIX}-boost
Building:
git clone --recursive https://github.com/wxFormBuilder/wxFormBuildercd wxFormBuildercmake -S. -B _build -G"MSYS Makefiles" --install-prefix"$PWD/_install" -DCMAKE_BUILD_TYPE=Releasecmake --build _build --config Release -j`nproc`cmake --install _build --config Release
Running:
_install/wxFormBuilder
Building on Linux has been tested on Ubuntu and Fedora with GCC in 64 bit mode but should work on many more distributions.
Installing the Prerequisites:
sudo apt install libwxgtk3.2-dev libwxgtk-media3.2-dev libboost-dev cmake make git
Building:
git clone --recursive https://github.com/wxFormBuilder/wxFormBuildercd wxFormBuildercmake -S. -B _build -G"Unix Makefiles" --install-prefix"$PWD/_install" -DCMAKE_BUILD_TYPE=Releasecmake --build _build --config Release -j`nproc`cmake --install _build --config Release
Running:
_install/bin/wxformbuilder
Installing the Prerequisites:
sudo dnf install wxGTK-devel wxGTK-media boost-devel cmake make git
Building:
git clone --recursive https://github.com/wxFormBuilder/wxFormBuildercd wxFormBuildercmake -S. -B _build -G"Unix Makefiles" --install-prefix"$PWD/_install" -DCMAKE_BUILD_TYPE=Releasecmake --build _build --config Release -j`nproc`cmake --install _build --config Release
Running:
_install/bin/wxformbuilder
Building on macOS has been tested with Clang in 64 bit mode using Xcode and make. The required libraries can be installedviaHomebrew.
Installing the Prerequisites:
brew updatebrew install wxwidgets boost cmake make git
Building:
git clone --recursive https://github.com/wxFormBuilder/wxFormBuildercd wxFormBuildercmake -S. -B _build -G"Unix Makefiles" --install-prefix"$PWD/_install" -DCMAKE_BUILD_TYPE=Releasecmake --build _build --config Release -j`sysctl -n hw.ncpu`cmake --install _build --config Release
Running:
open _install/wxFormBuilder.app
For building custom wxFormBuilder plugins, refer to theSDK documentation.
About
A wxWidgets GUI Builder