[SOLVED] QLC's tests do not build
Posted: Thu Mar 09, 2017 11:12 am
Hi there,
not quite sure if this is the right location to report this...
I'm trying to build qlc+ directly from git (master). Unfortunately everything in ui/test/ fails to build as every included ui_*.h seems to be missing.
example fail:
The problem seems to be, that the particular .pro files try to add the include location via "INCLUDEPATH += ../../src" which seems to be resolved to "-I../../../../ui/src" (where obviously is nothing). If I replace the INCLUDEPATH directive in the .pro file with an absolute path ("INCLUDEPATH += /usr/local/src/qlcplus/build/ui/src") everything works fine.
However there seems to be a problem in the build toolchain?
Did you ever experience this kind of problem or know of a solution (without changing the includepath in every .pro file)?
not quite sure if this is the right location to report this...
I'm trying to build qlc+ directly from git (master). Unfortunately everything in ui/test/ fails to build as every included ui_*.h seems to be missing.
example fail:
Code: Select all
cd efxpreviewarea/ && ( test -e Makefile || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /usr/local/src/qlcplus/ui/test/efxpreviewarea/efxpreviewarea.pro -o Makefile ) && make -f Makefile
make[3]: Entering directory '/usr/local/src/qlcplus/build/ui/test/efxpreviewarea'
/usr/lib/x86_64-linux-gnu/qt5/bin/qmake -o Makefile ../../../../ui/test/efxpreviewarea/efxpreviewarea.pro
g++ -c -m64 -pipe -Werror -Wno-unused-local-typedefs -g -Wall -W -D_REENTRANT -fPIC -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_TESTLIB_LIB -DQT_XML_LIB -DQT_SCRIPT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/usr/local/src/qlcplus/build/ui/test/efxpreviewarea"' -I../../../../ui/test/efxpreviewarea -I. -I../../../../ui/src -I../../../../engine/src -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtTest -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtScript -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o efxpreviewarea_test.o ../../../../ui/test/efxpreviewarea/efxpreviewarea_test.cpp
In file included from ../../../../ui/test/efxpreviewarea/efxpreviewarea_test.cpp:26:0:
../../../../ui/src/efxpreviewarea.h:27:26: fatal error: ui_efxeditor.h: No such file or directory
#include "ui_efxeditor.h"
^
compilation terminated.
Makefile:357: recipe for target 'efxpreviewarea_test.o' failed
make[3]: *** [efxpreviewarea_test.o] Error 1
make[3]: Leaving directory '/usr/local/src/qlcplus/build/ui/test/efxpreviewarea'
However there seems to be a problem in the build toolchain?
Code: Select all
$ qmake --version
QMake version 3.0
Using Qt version 5.6.1 in /usr/lib/x86_64-linux-gnu
$ uname -a
Linux 4.8.0-40-generic #43-Ubuntu SMP Thu Feb 23 16:01:19 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
$ g++ --version
g++ (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005