B2Qt.Wifi in Qt 5.7
-
Maybe you need to compile it yourself? Or you can download it from your Qt account?
I assumed you haven't changed/overwritten/etc. the QML import paths?So, it's not out-of-the-box? Despite the fact that I'm ok-ish with that, it's nowhere to find so I could build/import it.
From my Qt Account I've downloaded unified-online-installer and it should contain everything, according to its description, but apparently it does not.That's what else I have in Qt Account:
It's just separate downloads for everything from unified-online-installer.
This link seems to work.
Yes, I can see that. That's where I've found the manual. But it's kinda for 5.6. And it goes without any preparations like "...first you need to build B2Qt.Wifi from sources and overwrite some QML import paths", so it implies that all this is done already and you can just use it.
There is no such thing in 5.7? And why to keep this page, what's its point then.
So, I need to install Qt 5.6 in order to have B2Qt.Wifi in QML and be able to run this manual? I find it a bit weird :)
-
@veryqtperson said:
Yes, I can see that. That's where I've found the manual. But it's kinda for 5.6. And it goes without any preparations like "...first you need to build B2Qt.Wifi from sources and overwrite some QML import paths", so it implies that all this is done already and you can just use it.
well, isn't that the answer to your question!?!
So, I need to install Qt 5.6 in order to have B2Qt.Wifi in QML and be able to run this manual? I find it a bit weird :)
What makes you think that?!
Why do you assume that it should work out of the box in Qt 5.7 when it wasn't already in Qt 5.6? -
Why do you assume that it should work out of the box in Qt 5.7 when it wasn't already in Qt 5.6?
Because the manual starts with: "Use the following import statement in the QML files to access the B2Qt.Wifi QML types" and then "import B2Qt.Wifi 1.0".
It implies that such module is available and ready to use, doesn't it? :)
But turns out it''s not.So,
isn't that the answer to your question!?!
As you can see, it is not.
Most probably I misunderstood something from that manual, but I'm failing to figure out what exactly.
-
Well, finally I decided to install a Qt version 5.6 in addition to already installed 5.7, and it does indeed contain such module out-of-the-box.
So, the only question left: why this module is not included in 5.7?
-
Hi @veryqtperson
Sounds like a question that should be asked from support through your Qt Account.
I am pretty sure there were no module removals for Qt 5.7. You did check the path for the 5.7 sysroot? (should be similar to the one you have there in the picture for 5.6)P.S. when you find out what is going wrong, please tell us too, I'm curious on what happened.
-
@tekojo, yes, I did check the path, and I compared its contents with path to sysroot of 5.6 - there is no folder B2Qt in 5.7. And I tried it not only with Raspberry toolchain, but also with Toradex, Apalis and Emulator - all are missing B2Qt module.
Yes, of course, I'll post updates here.
-
@veryqtperson sounds like a failed install then.
Hope it gets solved. -
No, it's not a failed install.
What happened is that module has been renamed in 5.7 and moved to different place:
/5.7/Boot2Qt/sources/b2qt-utils/src/networksettings
And it has not been documented yet, that's why this page is empty, I guess.So, original article is no use for 5.7.
-
@veryqtperson
That should not happen. Could you open a bug on it? (in case it isn't a known issue) -
I'm not sure if it qualifies as a bug - after all, the component exists (and hopefully works, I'll try it later), it's only been renamed and moved to another place without any announcement or notice in changelog. And yes, it lacks documentation, but that's in progress I hope and soon we'll see it.