This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QObject> | |
#include <QDebug> | |
class FactoryBase | |
{ | |
public: | |
virtual QObject* create() = 0; | |
}; | |
QMap<QString, FactoryBase*> factoryMap; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install ccache: | |
In Arch: | |
$ sudo pacman -S ccache | |
Or Ubuntu: | |
$ sudo apt-get install ccache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pacman -Sy | |
pacman -S --needed python2 perl git gnupg flex bison gperf zip unzip sdl wxgtk squashfs-tools ncurses libpng | |
zlib libusb libusb-compat readline inetutils | |
pacman -S --needed schedtool | |
pacman -S --needed openjdk6 | |
## for x86_64? | |
pacman -S --needed gcc-multilib gcc-libs-multilib binutils-multilib libtool-multilib lib32-libusb lib32-libusb-compat lib32-readline lib32-glibc lib32-zlib | |
Install yaourt (& package-query): |