Compile errors when Cross-compiling for Rasberry Pi on Windows 7



  • Greetings and thank you for reading this. I apologise for the formatting errors of this topic. I had one hell of a fight with Markdown.

    For various reasons I am trying to set up Qt development for Raspberry Pi and BeagleBone Black on Windows. In this instance Windows 7 64-bit. I understand the cross-compile broad principals, but there is much I don't know about the tool chains.

    I used the tutorial on the website to set up Qt 5.5.0 for the Raspberry Pi2 on Windows. I still had to overcome some issues, but can now successfully remotely launch the compiled examples on the Raspberry Pi.

    http://visualgdb.com/tutorials/raspberry/qt/embedded/

    The problem I have is in trying to compile and deploy my own trivial test programs or even the Qt examples. The compile process spits out the errors:

    arm-linux-gnueabihf-g++: error: command line option '-fno-keep-inline-dllexport' is not supported by this configuration

    arm-linux-gnueabihf-g++: error: unrecognized command line option '-mthreads'

    As far as I can tell Qt Creator is still trying to "make" for a Windows-32 platform rather than an ARM Linux platform. I have trawled through the Qt Creator Projects setup and the Tools->Options dialogs but cannot see anything amiss.

    Does anyone know how to overcome this? I think I need to instruct QtCreator to STOP putting in build and compile statements for Windows - but I could be wrong. Thanks again.

    Here is the full compiler output:
    11:17:54: Running steps for project QtTest2...
    11:17:54: Starting: "C:\SysGCC\Raspberry\bin\make.exe"
    C:/SysGCC/Raspberry/bin/make -f Makefile.Debug make[1]: Entering directory C:/QtLearning/build-QtTest2-Raspberry_Pi_2-Debug' C:/SysGCC/Raspberry/bin/arm-linux-gnueabihf-g++ -c -pipe -fno-keep-inline-dllexport -U__STRICT_ANSI__ --sysroot=C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot -g -Wall -Wextra -fno-rtti -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -DQT_NEEDS_QMAIN -DQT_NO_DYNAMIC_CAST -I..\QtTest2 -I. I..\..\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\local\qt5\include -I..\..\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\local\qt5\include\QtWidgets -I..\..\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\local\qt5\include\QtGui -I..\..\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\local\qt5\include\QtCore -Idebug -I. -I..\..\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\local\qt5\mkspecs\win32-g++ -o debug\main.o ..\QtTest2\main.cpp arm-linux-gnueabihf-g++: error: command line option '-fno-keep-inline-dllexport' is not supported by this configuration make[1]: Leaving directoryC:/QtLearning/build-QtTest2-Raspberry_Pi_2-Debug'
    arm-linux-gnueabihf-g++: error: unrecognized command line option '-mthreads'
    make[1]: *** [debug/main.o] Error 1
    make: *** [debug] Error 2
    11:17:54: The process "C:\SysGCC\Raspberry\bin\make.exe" exited with code 2.
    Error while building/deploying project QtTest2 (kit: Raspberry Pi-2)
    When executing step "Make"
    11:17:54: Elapsed time: 00:00.

    And here is the project make file as produced by QMake:

    #############################################################################
    # Makefile for building: RasPi2
    # Generated by qmake (3.0) (Qt 5.5.0)
    # Project:  ..\RasPi2\RasPi2.pro
    # Template: app
    # Command: C:\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\local\qt5\bin\qmake.exe -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" -o Makefile ..\RasPi2\RasPi2.pro
    #############################################################################
    
    MAKEFILE      = Makefile
    
    first: debug
    install: debug-install
    uninstall: debug-uninstall
    QMAKE         = C:\SysGCC\Raspberry\arm-linux-gnueabihf\sysroot\usr\local\qt5\bin\qmake.exe
    DEL_FILE      = del
    CHK_DIR_EXISTS= if not exist
    MKDIR         = mkdir
    COPY          = copy /y
    COPY_FILE     = copy /y
    COPY_DIR      = xcopy /s /q /y /i
    INSTALL_FILE  = copy /y
    INSTALL_PROGRAM = copy /y
    INSTALL_DIR   = xcopy /s /q /y /i
    DEL_FILE      = del
    SYMLINK       = $(QMAKE) -install ln -f -s
    DEL_DIR       = rmdir
    MOVE          = move
    SUBTARGETS    =  \
    		debug \
    		release
    
    debug: FORCE
    	$(MAKE) -f $(MAKEFILE).Debug
    debug-make_first: FORCE
    	$(MAKE) -f $(MAKEFILE).Debug 
    debug-all: FORCE
    	$(MAKE) -f $(MAKEFILE).Debug all
    
    
    	
    	
    	
    	
    debug-clean: FORCE
    	$(MAKE) -f $(MAKEFILE).Debug clean
    debug-distclean: FORCE
    	$(MAKE) -f $(MAKEFILE).Debug distclean
    debug-install: FORCE
    	$(MAKE) -f $(MAKEFILE).Debug install
    debug-uninstall: FORCE
    	$(MAKE) -f $(MAKEFILE).Debug uninstall
    release: FORCE
    	$(MAKE) -f $(MAKEFILE).Release
    release-make_first: FORCE
    	$(MAKE) -f $(MAKEFILE).Release 
    release-all: FORCE
    	$(MAKE) -f $(MAKEFILE).Release all
    release-clean: FORCE
    	$(MAKE) -f $(MAKEFILE).Release clean
    release-distclean: FORCE
    	$(MAKE) -f $(MAKEFILE).Release distclean
    release-install: FORCE
    	$(MAKE) -f $(MAKEFILE).Release install
    release-uninstall: FORCE
    	$(MAKE) -f $(MAKEFILE).Release uninstall
    
    Makefile: ../RasPi2/RasPi2.pro C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/win32-g++/qmake.conf C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/spec_pre.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/qdevice.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/device_config.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/qconfig.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dcore.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dcore_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dinput.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dinput_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dquick.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dquick_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dquickrenderer.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dquickrenderer_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3drenderer.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3drenderer_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_bluetooth.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_bluetooth_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_clucene_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_concurrent.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_core.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_core_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_dbus.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_dbus_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_declarative.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_declarative_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_eglfs_device_lib_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_gui.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_gui_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_help.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_help_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_location.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_location_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_multimedia.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_multimedia_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_network.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_network_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_nfc.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_nfc_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_opengl.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_opengl_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_openglextensions.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_positioning.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_positioning_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_printsupport.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_printsupport_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qml.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qml_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qmltest.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qmltest_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quick.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quick_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quickwidgets.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quickwidgets_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_script.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_script_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_scripttools.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_scripttools_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_sensors.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_sensors_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_serialport.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_serialport_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_sql.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_sql_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_svg.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_svg_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_testlib.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_testlib_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_uiplugin.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_uitools.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_uitools_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_webchannel.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_webchannel_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_websockets.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_websockets_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_widgets.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_widgets_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_x11extras.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_x11extras_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xcb_qpa_lib_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xml.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xml_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/qt_functions.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/qt_config.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/qt_config.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/win32-g++/qmake.conf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/spec_post.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/exclusive_builds.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/default_pre.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/default_pre.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/resolve_config.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/exclusive_builds_post.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/default_post.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/qml_debug.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/precompile_header.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/warn_on.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/qt.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/resources.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/moc.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/opengl.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/uic.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/windows.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/rtti_off.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/testcase_targets.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/exceptions.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/yacc.prf \
    		C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/lex.prf \
    		../RasPi2/RasPi2.pro
    	$(QMAKE) -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" -o Makefile ..\RasPi2\RasPi2.pro
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/spec_pre.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/qdevice.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/device_config.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/qconfig.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dcore.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dcore_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dinput.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dinput_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dquick.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dquick_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dquickrenderer.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3dquickrenderer_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3drenderer.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_3drenderer_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_bluetooth.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_bluetooth_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_clucene_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_concurrent.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_concurrent_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_core.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_core_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_dbus.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_dbus_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_declarative.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_declarative_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_eglfs_device_lib_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_gui.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_gui_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_help.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_help_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_location.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_location_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_multimedia.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_multimedia_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_network.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_network_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_nfc.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_nfc_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_opengl.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_opengl_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_openglextensions.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_positioning.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_positioning_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_printsupport.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_printsupport_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qml.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qml_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qmltest.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qmltest_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quick.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quick_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quickwidgets.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_quickwidgets_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_script.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_script_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_scripttools.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_scripttools_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_sensors.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_sensors_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_serialport.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_serialport_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_sql.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_sql_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_svg.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_svg_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_testlib.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_testlib_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_uiplugin.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_uitools.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_uitools_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_webchannel.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_webchannel_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_websockets.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_websockets_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_widgets.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_widgets_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_x11extras.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_x11extras_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xcb_qpa_lib_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xml.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xml_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/qt_functions.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/qt_config.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/qt_config.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/win32-g++/qmake.conf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/spec_post.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/exclusive_builds.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/default_pre.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/default_pre.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/resolve_config.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/exclusive_builds_post.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/default_post.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/qml_debug.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/precompile_header.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/warn_on.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/qt.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/resources.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/moc.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/opengl.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/uic.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/windows.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/win32/rtti_off.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/testcase_targets.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/exceptions.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/yacc.prf:
    C:/SysGCC/Raspberry/arm-linux-gnueabihf/sysroot/usr/local/qt5/mkspecs/features/lex.prf:
    ../RasPi2/RasPi2.pro:
    qmake: FORCE
    	@$(QMAKE) -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" -o Makefile ..\RasPi2\RasPi2.pro
    
    qmake_all: FORCE
    
    make_first: debug-make_first release-make_first  FORCE
    all: debug-all release-all  FORCE
    clean: debug-clean release-clean  FORCE
    distclean: debug-distclean release-distclean  FORCE
    	-$(DEL_FILE) Makefile
    
    debug-mocclean:
    	$(MAKE) -f $(MAKEFILE).Debug mocclean
    release-mocclean:
    	$(MAKE) -f $(MAKEFILE).Release mocclean
    mocclean: debug-mocclean release-mocclean
    
    debug-mocables:
    	$(MAKE) -f $(MAKEFILE).Debug mocables
    release-mocables:
    	$(MAKE) -f $(MAKEFILE).Release mocables
    mocables: debug-mocables release-mocables
    
    check: first
    FORCE:
    
    $(MAKEFILE).Debug: Makefile
    $(MAKEFILE).Release: Makefile


  • Hello, I have the exact same problem. If you found a solution, that would be appreciated!

    EDIT: Found a way, I added « -spec linux-arm-gnueabi-g++ » in the additional arguments under the project's compilation settings. Not sure that's the best way/practice, but I was able to make an executable for my pi (:


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.