Compiling bldc-tool on openSUSE 13.X / enterprise SUSE 12 is fairly straight forward, once you get the Qt5 environment setup.
The biggest trip-up is that openSUSE's qmake only produces Qt4 makefiles.
Adding the option flag will only get you the error “Unknown option -qt=qt5”.
OpenSUSE has a separate qmake for Qt5 that is named qmake-qt5.
If you only install the Qt5 development packages below, your system won't even have the wrong qmake-program installed.
Code: Select all
## Compile BLDC-tool # Add yourself to the dialout group to access the USB port of the ESC without being root sudo usermod -G dialout $USER # Do the rest as root su - # Uninstall modemmanager zypper remove ModemManager # Install dependencies zypper install patterns-openSUSE-devel_qt5 libqt5-creator libqt5-qtserialport-devel libudev-dev # Install git zypper install git-core # Get source and compile cd /usr/src/ mkdir BLDC cd BLDC git clone https://github.com/vedderb/bldc-tool.git bldc-tool cd bldc-tool qmake-qt5 make # Check binary and dependencies readelf -h BLDC_Tool ldd -d BLDC_Tool # Install cp -p ./BLDC_Tool /usr/bin/ # Leave su root exit