RoboCup-SSL / ssl-vision

Shared Vision System For The RoboCup Small Size League
GNU General Public License v3.0
90 stars 111 forks source link

Remove ifdefs for VDATA_NO_QT - QT is always required #128

Closed g3force closed 5 years ago

g3force commented 5 years ago

VarTypes allowed building without QT and that made it into ssl-vision with the initial commit.

In VarTypes, this has been removed in 2010: https://github.com/szi/vartypes/commit/d70feb7e30ee4432354fe42e9a09ae411d984de7

The #ifndef VDATA_NO_QT pollute the code and should thus be removed.

g3force commented 5 years ago

that's actually quite easy:

find . -name "*.cpp" -exec unifdef -UVDATA_NO_QT {} -o {} \;
find . -name "*.h" -exec unifdef -UVDATA_NO_QT {} -o {} \;