I am getting: dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: source package qtwebchannel-opensource-src dpkg-buildpackage: source version 5.6.1-1+dfsg-1 dpkg-buildpackage: source distribution UNRELEASED dpkg-buildpackage: source changed by Scarlett Clark <sgcl...@kubuntu.org> dpkg-source --before-build qtwebchannel-opensource-src-5.6.1-1+dfsg dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean --parallel --dbg-package=libqt5webchannel5-dbg --with pkgkde_symbolshelper dh_testdir -O--dbg-package=libqt5webchannel5-dbg dh_auto_clean -O--dbg-package=libqt5webchannel5-dbg make -j1 distclean make[1]: Entering directory '/home/scarlett/qtwebchannel-opensource-src-5.6.1-1+dfsg' cd src/ && ( test -e Makefile || /home/scarlett/qt5/qtbase/bin/qmake /home/scarlett/qtwebchannel-opensource-src-5.6.1-1+dfsg/src/src.pro -o Makefile ) && make -f Makefile distclean make[2]: Entering directory '/home/scarlett/qtwebchannel-opensource-src-5.6.1-1+dfsg/src' cd webchannel/ && ( test -e Makefile || /home/scarlett/qt5/qtbase/bin/qmake /home/scarlett/qtwebchannel-opensource-src-5.6.1-1+dfsg/src/webchannel/ webchannel.pro -o Makefile ) && make -f Makefile distclean make[3]: Entering directory '/home/scarlett/qtwebchannel-opensource-src-5.6.1-1+dfsg/src/webchannel' /home/scarlett/qt5/qtbase/bin/qmake -o Makefile webchannel.pro Project WARNING: You should probably load(qt_build_config) first in webchannel.pro for QtWebChannel, as the latter also load()s qt_module. Project MESSAGE: Not doing so may lead to qt_module.prf overriding compiler/linker options in your .pro file. Project MESSAGE: Ignore this warning with CONFIG+=no_qt_module_warning if you know what you are doing. Project ERROR: Module does not define version. Makefile:329: recipe for target 'Makefile' failed make[3]: *** [Makefile] Error 3 make[3]: Leaving directory '/home/scarlett/qtwebchannel-opensource-src-5.6.1-1+dfsg/src/webchannel' Makefile:52: recipe for target 'sub-webchannel-distclean' failed make[2]: *** [sub-webchannel-distclean] Error 2 make[2]: Leaving directory '/home/scarlett/qtwebchannel-opensource-src-5.6.1-1+dfsg/src' Makefile:53: recipe for target 'sub-src-distclean' failed make[1]: *** [sub-src-distclean] Error 2 make[1]: Leaving directory '/home/scarlett/qtwebchannel-opensource-src-5.6.1-1+dfsg' dh_auto_clean: make -j1 distclean returned exit code 2 debian/rules:24: recipe for target 'clean' failed make: *** [clean] Error 2 dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2 debuild: fatal error at line 1376: dpkg-buildpackage -rfakeroot -D -us -uc failed
My research tells me this due to trying to build submodule alone. So my question is, how do I create a tarball for qt submodules so that it can be built alone? Thanks! Scarlett