Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-928

Add official guide for cross-compiling for Linux targets

    XMLWordPrintable

Details

    Description

      There is an existing blog post that describes how to use Qt VS Tools to cross-compile for a Raspberry Pi 3:

      It would be good to include this information in the official docs at https://doc.qt.io/qtvstools/ where it is more visible to users and where it can be updated for future releases if any relevant changes occur.

      A customer reported trying to follow the blog post, but had to add the following to make it work:

      • Create symlinks to Qt tools in the /bin folder to the executables in the /libexec folder so they could be found
      • Ensure compiler version was set to C++17 (this was not done by the wizard automatically even though Qt 6 requires this)
      • Ensure compilers are set to gcc and g++ for compiling, and g++ for linking

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mecfc Miguel Costa
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes