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. Cross compile Qt from Windows to Rasspberry Pi3
Forum Update on Monday, May 27th 2025

Cross compile Qt from Windows to Rasspberry Pi3

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 531 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.
  • Q Offline
    Q Offline
    Qt_begin
    wrote on last edited by
    #1

    I'have followed up all the steps from :
    https://visualgdb.com/tutorials/raspberry/qt/embedded/
    and https://forum.qt.io/topic/68381/cross-compile-qt-windows-to-raspberry-3
    Arriving to the step 13, I get this error message :
    'g++: error : unrocognized command line option ' -fno-keep-inline-dllexport
    make: ***[project.o] Error 1

    Any body know how I can fix it?
    Thanks :)

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      From the looks of it, your version of g++ is too old.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Qt_begin
        wrote on last edited by
        #3

        Hi SGaist,
        thank you for your reply,
        I've downloded and installed msys2-x86_60-20180531.exe. So for me it's not oldest than that!

        jsulmJ 1 Reply Last reply
        0
        • Q Qt_begin

          Hi SGaist,
          thank you for your reply,
          I've downloded and installed msys2-x86_60-20180531.exe. So for me it's not oldest than that!

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Qt_begin You need newer cross compiler

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          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