3

When cross compiling Qt 5.1 (arm-linux-gnueabihf-4.7), what executables are not cross compiled (qmake, moc, bootstrap, etc.)?

After reviewing and running the Qt 5 build process, moc and boostrap are getting cross-compiled, which I think is causing a build error...

László Papp
  • 51,870
  • 39
  • 111
  • 135
Michael
  • 115
  • 1
  • 4
  • FYI: have you taken a look at http://buildroot.uclibc.org/? The project already provides Qt 5.0.2 and patches for Qt 5.1.1 were already posted and are being reworked. – yegorich Sep 27 '13 at 07:44
  • Note there's `-platform` and `-xplatform`, to specify host and target platforms separately – Frank Osterfeld Sep 27 '13 at 10:19

1 Answers1

5

When cross compiling Qt 5.1 (arm-linux-gnueabihf-4.7), what executables are not cross compiled (qmake, moc, bootstrap, etc.)?

The "host" tools, basically:

  • qmake (qbs in the future)
  • moc
  • uic
  • qdoc
  • rcc
László Papp
  • 51,870
  • 39
  • 111
  • 135
  • Thanks. My build error was caused because I still had CC, CPP, LD, etc. variables defined for cross compiling, which was also defined in mkspec. Once I unset those variable the build worked. – Michael Sep 27 '13 at 15:00