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 compiling with packages from debian repository

Cross compiling with packages from debian repository

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 704 Views 1 Watching
  • 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.
  • J Offline
    J Offline
    Jeroen Sack
    wrote on last edited by
    #1

    I am trying to cross compile a qt application with libraries from the debian repository. When doing a normal compilation everything just works, libraries were installed using "apt-get install qt5-default" and I can compile any application I want.

    Now I also wanted to do the same for an armhf application, so I installed the cross compiler and qt libraries using "apt-get install qt5-default:armhf" which looks like it is fine. The only problem here is that the tools are also compiled for armhf, so I can't run them on my development platform.

    Doesn't sound like a big problem because I should be able to use the libraries from my native platform, except for the fact that it is using hardcoded paths in qmake which I can't get around. How do I get a proper version of qmake which can be used to do cross compilation, is the only solution compiling qmake myself or can I pass some configuration which contains the non-native folders?

    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