Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
1.5.0
-
None
Description
Check out https://codereview.qt-project.org/#/c/153520/ and remove the QBS-966 workaround in gcc.js, and add a couple console.info lines in android-gcc.qbs's override of dynamicLibraries and staticLibraries; compile the Android teapot example and receive the following output:
Android.ndk.ndkDir from within cpp.dynamicLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: undefined Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: undefined Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: undefined Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: undefined Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: undefined Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: undefined Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: undefined Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle Android.ndk.ndkDir from within cpp.dynamicLibraries: undefined Android.ndk.ndkDir from within cpp.staticLibraries: /Users/jakepetroules/Library/Android/sdk/ndk-bundle
Remove the cpp.dynamicLibraries bindings from within Export items in teapot.qbs, observe that significantly fewer instances of 'undefined' are shown. Remove the cpp.dynamicLibraries binding from the TeapotNativeActivity and observe that ALL instances of 'undefined' are gone.
Attachments
Issue Links
- duplicates
-
QBS-845 Evaluating the "prototype part" of list properties considers only the prototype value of properties that are depended upon.
- Closed