ablu (Erik Schilling)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

User Since
Apr 22 2020, 10:47 AM (16 w, 16 h)
Availability
Available

Recent Activity

Apr 30 2020

ablu abandoned D29096: Prefix includes and libs dir with QT_SYSROOT.
Apr 30 2020, 8:21 AM · Build System, Frameworks
ablu added a comment to D29096: Prefix includes and libs dir with QT_SYSROOT.

Ah, right. If you are using a normal sysroot for system libs, but conan for some libs then it makes sense!

Apr 30 2020, 7:51 AM · Build System, Frameworks
ablu added a comment to D29096: Prefix includes and libs dir with QT_SYSROOT.

Though... How does it come that you do not have SYSROOT set in your case? Won't that break in other cases?

Apr 30 2020, 5:14 AM · Build System, Frameworks
ablu added a comment to D29274: ECMGeneratePriFile: make the pri files relocatable.

The Build worked. So this solves the issue for me!

Apr 30 2020, 5:13 AM · Build System, Frameworks

Apr 29 2020

ablu added a comment to D29096: Prefix includes and libs dir with QT_SYSROOT.

looks good! yours is probably a bit more "CMakeish"! So feel free to continue with that one and close this.

Apr 29 2020, 3:14 PM · Build System, Frameworks
ablu added a comment to D29274: ECMGeneratePriFile: make the pri files relocatable.

My reason is basically the same. Will try this version too.

Apr 29 2020, 2:41 PM · Build System, Frameworks
ablu added a comment to D29096: Prefix includes and libs dir with QT_SYSROOT.

Hi @dfaure. It looks pretty much the same and I think it should work for us. I will kick off a build to confirm.

Apr 29 2020, 2:39 PM · Build System, Frameworks

Apr 23 2020

ablu added a comment to D29096: Prefix includes and libs dir with QT_SYSROOT.

Not having done much cross-compilation-library-setups naively I would have thought that when building a library which uses ECMGeneratePriFile and preparing it for cross-compilation, the installation prefix would be hardcoded into the generated artifacts.. Seems that instead files are relocated sometimes, changing their path & prefix, or tools snipping of some things?

Apr 23 2020, 11:35 AM · Build System, Frameworks

Apr 22 2020

ablu added a comment to D29096: Prefix includes and libs dir with QT_SYSROOT.

The SYSROOT variable should not (directly) impact that. The install directory is configured by ECM_MKSPECS_INSTALL_DIR, which usually will point to /usr/lib/mkspecs/modules/ on Linux. For a cross-compile toolchain it will however be additionally prefixed with separate path. But Qt and qmake will also be configured with that prefix so those know to lookup the mkspecs dir under that prefix. Issuing QT += <module> can then trigger the including of the include and lib paths from the .pri generated by this code. So the case I am trying to fix with this patch is the case where the .pri is found (so ECM_MKSPECS_INSTALL_DIR was specified correctly) but now the libs and include paths are pointing to /usr/{include,lib} and not to <cross-compile-prefix>/usr/{include,lib}. Now since <cross-compile-prefix> can differ depending on the installation dir of the tool chain it may not be possible to know that path during compile / install time. However, we can assume that Qt / qmake will know about the sysroot (which is the prefix essentially). So as long qmake is configured for the cross compile our Qt module now should be too.

Apr 22 2020, 2:04 PM · Build System, Frameworks
ablu requested review of D29096: Prefix includes and libs dir with QT_SYSROOT.
Apr 22 2020, 1:41 PM · Build System, Frameworks
ablu requested review of D29090: Properly install Qt module .pri files.
Apr 22 2020, 12:10 PM
ablu abandoned D29088: Properly install Qt module .pri files.

will reopen using arc for preserving mail / git metadata

Apr 22 2020, 12:01 PM
ablu requested review of D29088: Properly install Qt module .pri files.
Apr 22 2020, 11:54 AM