Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Creating project using Qt5 with VisualGDB for raspberry 3
Forum Update on Monday, May 27th 2025

Creating project using Qt5 with VisualGDB for raspberry 3

Scheduled Pinned Locked Moved Solved Installation and Deployment
5 Posts 4 Posters 653 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LASilva
    wrote on 30 Oct 2019, 18:43 last edited by
    #1

    Hi I'm trying create a project for raspberry 3 using visual GDB and I'm getting this error:

    Tool arguments: C:\SysGCC\raspberry\Qt\v5\qmake.exe  TestProFile.pro CONFIGNAME=Debug
    C:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/features/toolchain.prf:69: system(execute) requires one or two arguments.
    Project ERROR: Cannot run compiler 'C:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe'. Output:
    ===================
    ===================
    Maybe you forgot to setup the environment?
    

    My environment was set using these software:

    • raspberry-gcc8.3.0.exe
    • 2019-09-26-raspbian-buster
    • VisualGDB-5.4r12-trial.msi
      *Visual Studio 2019

    Am I missing something? What could be the problem?

    Best Regards

    P H 2 Replies Last reply 1 Nov 2019, 17:26
    0
    • L LASilva
      30 Oct 2019, 18:43

      Hi I'm trying create a project for raspberry 3 using visual GDB and I'm getting this error:

      Tool arguments: C:\SysGCC\raspberry\Qt\v5\qmake.exe  TestProFile.pro CONFIGNAME=Debug
      C:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/features/toolchain.prf:69: system(execute) requires one or two arguments.
      Project ERROR: Cannot run compiler 'C:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe'. Output:
      ===================
      ===================
      Maybe you forgot to setup the environment?
      

      My environment was set using these software:

      • raspberry-gcc8.3.0.exe
      • 2019-09-26-raspbian-buster
      • VisualGDB-5.4r12-trial.msi
        *Visual Studio 2019

      Am I missing something? What could be the problem?

      Best Regards

      P Offline
      P Offline
      Pablo J. Rogina
      wrote on 1 Nov 2019, 17:26 last edited by
      #2

      @LASilva said in Creating project using Qt5 with VisualGDB for raspberry 3:

      VisualGDB-5.4r12-trial.msi

      You may want to contact VisualGDB support?

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      1
      • N Offline
        N Offline
        nahumb
        wrote on 5 Nov 2019, 11:07 last edited by
        #3

        Having the same problem since last night.
        Trying to create a new Qt CMake project ends up with a similar problem.
        I'm now stuck and non of my past Qt projects may build now )-:
        I have opened a ticket with VGDB support.
        So far no much help....

        Any updates on your side?

        Thanks.

        1 Reply Last reply
        1
        • L Offline
          L Offline
          LASilva
          wrote on 12 Nov 2019, 16:36 last edited by
          #4

          I used VisualGDB-5.4r12-trial.ms and it is working correctly now.

          Thanks very much.

          1 Reply Last reply
          1
          • L LASilva
            30 Oct 2019, 18:43

            Hi I'm trying create a project for raspberry 3 using visual GDB and I'm getting this error:

            Tool arguments: C:\SysGCC\raspberry\Qt\v5\qmake.exe  TestProFile.pro CONFIGNAME=Debug
            C:/SysGCC/raspberry/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/features/toolchain.prf:69: system(execute) requires one or two arguments.
            Project ERROR: Cannot run compiler 'C:/SysGCC/raspberry/bin/arm-linux-gnueabihf-g++.exe'. Output:
            ===================
            ===================
            Maybe you forgot to setup the environment?
            

            My environment was set using these software:

            • raspberry-gcc8.3.0.exe
            • 2019-09-26-raspbian-buster
            • VisualGDB-5.4r12-trial.msi
              *Visual Studio 2019

            Am I missing something? What could be the problem?

            Best Regards

            H Offline
            H Offline
            huanleMa
            wrote on 26 Oct 2023, 06:53 last edited by
            #5

            @LASilva
            the following fix works for me.

            in sysroot\usr\lib\arm-linux-gnueabihf\qt5\mkspecs\features\default_pre.prf

            remove following line:

            load(toolchain)
            
            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved