[Automotive] QtApplicationManager disable-installer flag
Dominik Holland
dominik.holland at pelagicore.com
Fri Oct 14 20:19:25 CEST 2016
Hi,
yes this is a bug.
It would be nice if you could add a bugreport on http://bugreport.qt.io
AUTOSUITE / ApplicationManager.
Please also add the environment you build this on.
Dominik
Am 14.10.16 um 20:12 schrieb Sanchez, Jack:
> Hi all,
>
> Another quick question that is merely more of an annoyance than a problem.
>
> It seems that you cannot actually use the "-config disable-installer"
> flag during qmake and build time. The QtApplicationManager project seems
> that not all cases are handled for this, build steps and error output
> follows:
>
> qmake -config disable-installer
> make
>
> ------error compiler output----------
> g++ -c -pipe -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC
> -DAM_DISABLE_INSTALLER -DAM_USE_LIBBACKTRACE -DAM_MULTI_PROCESS
> -DAM_VERSION=\"1.0.0\" -DAM_USE_LIBCRYPTO -DAM_BUILD_APPMAN
> -DQT_WAYLANDCOMPOSITOR_LIB -DQT_COMPOSITOR_WAYLAND_GL -DQT_QUICK_LIB
> -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_CORE_LIB
> -I. -I../common-lib -I../manager-lib -I../installer-lib
> -I../notification-lib -I/opt/Qt-5.7.0/include/QtWaylandCompositor/5.7.0
> -I/opt/Qt-5.7.0/include/QtWaylandCompositor/5.7.0/QtWaylandCompositor
> -I/opt/Qt-5.7.0/include -I/opt/Qt-5.7.0/include/QtWaylandCompositor
> -I/opt/Qt-5.7.0/include/QtQuick/5.7.0
> -I/opt/Qt-5.7.0/include/QtQuick/5.7.0/QtQuick
> -I/opt/Qt-5.7.0/include/QtQuick -I/opt/Qt-5.7.0/include/QtQml/5.7.0
> -I/opt/Qt-5.7.0/include/QtQml/5.7.0/QtQml -I/opt/Qt-5.7.0/include/QtQml
> -I/opt/Qt-5.7.0/include/QtNetwork -I/opt/Qt-5.7.0/include/QtGui/5.7.0
> -I/opt/Qt-5.7.0/include/QtGui/5.7.0/QtGui
> -I/opt/Qt-5.7.0/include/QtCore/5.7.0
> -I/opt/Qt-5.7.0/include/QtCore/5.7.0/QtCore
> -I/opt/Qt-5.7.0/include/QtGui -I/opt/Qt-5.7.0/include/QtDBus
> -I/opt/Qt-5.7.0/include/QtCore -I. -I/opt/Qt-5.7.0/mkspecs/linux-g++ -o
> qrc_config.o qrc_config.cpp
> main.cpp:322:71: error: ‘InstallationLocation’ was not declared in this
> scope
> const
> QVector<InstallationLocation> &installationLocations)
> ^
> main.cpp:322:91: error: template argument 1 is invalid
> const
> QVector<InstallationLocation> &installationLocations)
>
> ^
> main.cpp: In member function ‘virtual void main(int,
> char**)::DBusDaemonProcess::setupChildProcess()’:
> main.cpp:525:45: error: ‘SIGKILL’ was not declared in this scope
> prctl(PR_SET_PDEATHSIG, SIGKILL);
> ^
> main.cpp: In function ‘int main(int, char**)’:
> main.cpp:614:44: error: ‘installationLocations’ was not declared in this
> scope
> installationLocations);
> ^
> Makefile:2619: recipe for target 'main.o' failed
> ------end error compiler output----------
>
> An extension to this issue is that it seems the project completely
> ignores all qmake config flags. The other case we have tried to use is
> the "-config install-prefix" to point somewhere other than /usr/local,
> however, this is also ignored by the build system.
>
> Thanks again as always!!
>
> Best regards,
> --
> *Jack Sanchez*
> Lead Qt Engineer
>
> *M:* +1 503-608-8282
> *E: jsanche1 at jaguarlandrover.com <mailto:jsanche1 at jaguarlandrover.com>*
>
> *Jaguar Land Rover, 1419 NW 14th Ave, Portland, Oregon, 97209, USA*
> *jaguar.com <http://jaguar.com/> | landrover.com <http://landrover.com/>*
>
>
> _______________________________________________
> Automotive mailing list
> Automotive at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/automotive
>
More information about the Automotive
mailing list