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. Qt 6.2.4 Cross-Compile Windows Raspberry ARMV8
QtWS25 Last Chance

Qt 6.2.4 Cross-Compile Windows Raspberry ARMV8

Scheduled Pinned Locked Moved Solved Installation and Deployment
windows 10cross compilearmv8raspberryqt6.2
7 Posts 4 Posters 1.4k 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.
  • G Offline
    G Offline
    Gio26
    wrote on 7 Apr 2022, 16:26 last edited by Gio26 4 Jul 2022, 16:31
    #1

    Hello,
    I'm here again after exactly 2 years!!!
    I'm in troble with compile QT for raspberry 64 bit. I've got the first part, windows x86_64 but the arm compile failed with some error.
    I'm working under Windows 10 with aarch64-linux-gnu-cc.exe(10.2.1) and aarch64-linux-gnu-g++.exe" (10.2.1) compiler, Cmake: cmake version 3.20.21032501-MSVC_2 or cmake come with qt tools (same problem).

    This my trouble:

    CMake Error in src/corelib/CMakeLists.txt:
      Imported target "WrapDoubleConversion::WrapDoubleConversion" includes
      non-existent path
    
        "/usr/include/double-conversion"
    
      in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:
    
      * The path was deleted, renamed, or moved to another location.
    
      * An install or uninstall procedure did not complete successfully.
    
      * The installation package was faulty and references files it does not
      provide.
    
    CMake Error at src/corelib/Qt6CoreMacros.cmake:2247 (add_library):
      Target "Gui" links to target "PkgConfig::PC_HARFBUZZ" but the target was
      not found.  Perhaps a find_package() call is missing for an IMPORTED
      target, or an ALIAS target is missing?
    Call Stack (most recent call first):
      cmake/QtModuleHelpers.cmake:105 (_qt_internal_add_library)
      src/gui/CMakeLists.txt:53 (qt_internal_add_module)
    
    

    Thanks a lot for any suggest you can give me!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Gio26
      wrote on 9 Apr 2022, 17:16 last edited by
      #2
      This post is deleted!
      1 Reply Last reply
      0
      • P Offline
        P Offline
        PhysicsX
        wrote on 27 Apr 2022, 08:32 last edited by
        #3

        Hello

        Could you please explain that what is the solution for this issue ? I have same kind of problem during configuration.

        Thank you.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          Gio26
          wrote on 27 Apr 2022, 09:29 last edited by
          #4

          Hello,
          in my case I have modified some cmake:
          sysroot \ usr \ lib \ aarch64-linux-gnu \ cmake \ double-conversion \ double-conversionConfig
          qt-everywhere-src-6.2.4 \ qtbase \ cmake \ FindZSTD

          For ZSTD:

          #find_package_handle_standard_args(ZSTD REQUIRED_VARS ZSTD_LIBRARIES ZSTD_INCLUDE_DIRS
              #                                       VERSION_VAR PC_ZSTD_VERSION)
              find_package_handle_standard_args(ZSTD REQUIRED_VARS ZSTD_LIBRARIES ZSTD_INCLUDE_DIRS)
          

          For double-conversion:

          set_target_properties(double-conversion::double-conversion PROPERTIES
            #INTERFACE_INCLUDE_DIRECTORIES "/usr/include/double-conversion"
           INTERFACE_INCLUDE_DIRECTORIES add your sysroot path"/usr/include/double-conversion"
          )
          
          1 Reply Last reply
          0
          • P Offline
            P Offline
            PhysicsX
            wrote on 28 Apr 2022, 19:37 last edited by
            #5

            Thanks for the reply,

            But I see a problem like this :

            -- Configuring done
            CMake Error at cmake/FindWrapSystemHarfbuzz.cmake:56 (target_link_libraries):
              The link interface of target "WrapSystemHarfbuzz::WrapSystemHarfbuzz"
              contains:
            
                PkgConfig::PC_HARFBUZZ
            
              but the target was not found.  Possible reasons include:
            
                * There is a typo in the target name.
                * A find_package call is missing for an IMPORTED target.
                * An ALIAS target is missing.
            
            Call Stack (most recent call first):
              cmake/QtFindPackageHelpers.cmake:130 (find_package)
              src/gui/configure.cmake:41 (qt_find_package)
              cmake/QtFeature.cmake:573 (include)
              src/CMakeLists.txt:12 (qt_feature_evaluate_features)
            
            
            -- Generating done
            CMake Warning:
            
            

            Do you have any idea about it ? This can be related with your problem ?

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nprobst
              wrote on 4 Jun 2024, 21:50 last edited by
              #6

              I solved the issue by installing "sudo apt-get install libdouble-conversion-dev"
              on the host machine!

              J 1 Reply Last reply 5 Jun 2024, 06:40
              0
              • N nprobst
                4 Jun 2024, 21:50

                I solved the issue by installing "sudo apt-get install libdouble-conversion-dev"
                on the host machine!

                J Offline
                J Offline
                jsulm
                Lifetime Qt Champion
                wrote on 5 Jun 2024, 06:40 last edited by
                #7

                @nprobst said in Qt 6.2.4 Cross-Compile Windows Raspberry ARMV8:

                on the host machine

                On the host machine? How would that fix the issue in case of cross compiling? Are you sure you're really cross compiling?

                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