Well, it seems i've found a solution:
1. Deploy via assets:
.pro file:
my_bin.path = /assets
my_bin.files += /path/to/bin
INSTALLS += my_bin
2. At the first run, copy the file and set permissions:
QFile file("assets:/mybin");
auto dstFilePath = "./mybin";
if (file.exists() &&
Hello,
I want to include some console binary file into my APK and launch it
when my app runs.
Is it possible?
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
Right, I did try that one but if I remember right I got an error setting the
context property, or that it was the same as the engine root context.
> On Jul 17, 2019, at 3:37 AM, Sérgio Martins wrote:
>
>> On 2019-07-17 10:58, Patrick Stinson wrote:
>> Shoot, you know at first pass it looks
On 2019-07-17 10:58, Patrick Stinson wrote:
Shoot, you know at first pass it looks like that will work. Wow.
I wonder if this is possible to do with QQuickWidget? Or if not how to
show a component into a QWidget without QQuickWidget?
A colleague of mine offered a workaround:
QQmlContext
Is there any way other than QQuickWidget to show a Qml Component in a QWidget?
> On Jul 17, 2019, at 2:14 AM, Sérgio Martins wrote:
>
> On 2019-07-17 10:58, Patrick Stinson wrote:
>> Shoot, you know at first pass it looks like that will work. Wow.
>> I wonder if this is possible to do with
On 2019-07-17 10:58, Patrick Stinson wrote:
Shoot, you know at first pass it looks like that will work. Wow.
I wonder if this is possible to do with QQuickWidget? Or if not how to
show a component into a QWidget without QQuickWidget?
According to [1] it's not possible, but could be an easy
Shoot, you know at first pass it looks like that will work. Wow.
I wonder if this is possible to do with QQuickWidget? Or if not how to show a
component into a QWidget without QQuickWidget?
> On Jul 17, 2019, at 1:35 AM, Sérgio Martins wrote:
>
> On 2019-07-17 10:15, Patrick Stinson wrote:
>>
On 2019-07-17 10:15, Patrick Stinson wrote:
Hello!
Surely there must be a way to set a context property on a single
component without having to set it globally on the entire QQmlEngine?
Indeed, the QQmlContext documentation is silent on this point.
Help??
Hi,
You can create a child
Hello!
Surely there must be a way to set a context property on a single component
without having to set it globally on the entire QQmlEngine? Indeed, the
QQmlContext documentation is silent on this point.
Help??
___
Interest mailing list