undefined reference to `QQuickTextControl::textCursor() const'
-
I've successfully built it with 5.9.2.
-
Nothing special, the only difference I can see is that it's a self-built Qt but that shouldn't matter.
-
Nothing special, the only difference I can see is that it's a self-built Qt but that shouldn't matter.
-
Yes, only with it.
However, I'm not using a static build but that shouldn't change anything.
What platform are you on ?
-
Yes, only with it.
However, I'm not using a static build but that shouldn't change anything.
What platform are you on ?
-
Yes, only with it.
However, I'm not using a static build but that shouldn't change anything.
What platform are you on ?
@SGaist Installed the latest 5.9.2 snapshot, still getting the same errors...
I also tried building it into a new empty project rather than my production project, still a no-go.
Are you sure that you actually build it? Like in "register it as a QML type and see if it works".
-
I pasted your code in a main.cpp and instantiated an object from it and called the slot.
If you want more testing then provide a complete minimal buildable example.
One thing I saw with my build is that I still have the declarative sources in my git tree so it got built which might explain why I'm succeeding.
-
I pasted your code in a main.cpp and instantiated an object from it and called the slot.
If you want more testing then provide a complete minimal buildable example.
One thing I saw with my build is that I still have the declarative sources in my git tree so it got built which might explain why I'm succeeding.
-
I pasted your code in a main.cpp and instantiated an object from it and called the slot.
If you want more testing then provide a complete minimal buildable example.
One thing I saw with my build is that I still have the declarative sources in my git tree so it got built which might explain why I'm succeeding.
-
I'd try to check the resulting libraries to see which one contains the missing symbols.
-
OK, there has been some development, amazingly, I actually managed to get the first successful static Qt build since January. AND that code compiled successfully.
It is strange that it didn't compile with an identical configuration save for the static flag.
This actually works for me only in the context of development, which I do on windows. But it is an android app, and it still doesn't build on the stock Qt android build.
However, rather than getting unresolved reference errors, I get a
collect2.exe:-1: error: error: ld returned 1 exit statusCommenting out the cursorOp() function and it builds successfully.
It would seem that I'd have to also do a custom Qt build for android, something I haven't done and something I am certainly not looking forward to do, as every different platform has its new set of quirks and associated headaches.
-
-
Thanks for the link