That is more or less the same mechanism I have been using to accomplish this.
But I only used one updater object, and a list of update scripts. The name of
the scripts was marked with the version of the database schema, like
update_v3.sql.
At startup the version of the current scheme is read from
Thanks Ben for your reply
After much digging I made some progress but I am still looking for a way
to temporary lock screen auto rotation.
I have created my own app delegate to catch openUrl(), and surprisingly
it works. I register my app delegate from main.cpp by calling something
like this
Hello:
I have a small sample program to clarify how to use QQmlComponent::setData(
).
Of course, the QML engine cannot load a component due to unknown Myrect type
Can anyone comment on how to use setData( ) so that Myrect is visible as a
component.
Application output:
Debugging starts
QML deb
On Thursday May 28 2015 20:00:27 Nuno Santos wrote:
> I will leave that for last resort. It’s less error prone for users.
It strikes me that maybe you already have to use an installer, to ensure that
the plugin is installed in the appropriate location?
> Thanks a lot for your help. It has been
I will leave that for last resort. It’s less error prone for users.
Thanks for the showing me options!
I will post my attempt to automatize this process.
Thanks a lot for your help. It has been crucial!
Best,
Nuno
> On 28 May 2015, at 19:52, René J.V. Bertin wrote:
>
> On Thursday May 28
On Thursday May 28 2015 18:15:04 Nuno Santos wrote:
> The host app is not mine and yes, it can work with several app. This is music
> instrument plugin.
This may not fly with Apple store rules, but if a reasonable portion of your
potential clients are likely to have multiple host apps installed
I once wrote a ORM that took an XML definition, and spat out QObject-derived
classes that provided QObject QPROPERTY to SQLite database mappings. So it
would create the SQL schema, the source files (.cpp/h) had support for
transactions and rollbacks. I don't know how useful it would be for anyon
On Thursday 28 May 2015 11:28:53 Matthew Woehlke wrote:
> I create an object in Thread 1 (e.g. the main thread). This object is
> memory-owned by T1, i.e. it is expected that T1 will delete the object.
This is what's wrong. T1 *cannot* delete the object that represents T1. If T1
is trying to dele
On Thursday 28 May 2015 11:31:10 Matthew Woehlke wrote:
> > Again missing the move-back.
>
> Why is a move-back needed? What goes sideways without it?
Because you want to destroy the object. You can only destroy a QObject in its
thread of affinity.
--
Thiago Macieira - thiago.macieira (AT) int
The host app is not mine and yes, it can work with several app. This is music
instrument plugin.
But yes, this is no easy job and I think a simple change in macdeployqt might
do the difference.
If it writes loader_path instead of executable_path I think the problem will be
automatically solve
On Thursday May 28 2015 17:49:13 Nuno Santos wrote:
> I have done the install_name_tool -id to change it accordingly:
>
> QtGui.framework/QtGui:
> @loader_path/../Frameworks/QtGui.framework/Versions/5/QtGui
> (compatibility version 5.4.0, current version 5.4.1)
> @loader_path/../Frame
René,
You’re the man! :)
Your tip was right. It is the loader path. I started from the most simple case
which is having the lib only linked with QtCore and done the following:
install_name_tool -change ../Frameworks/QtCore.framework/Versions/5/QtCore
@loader_path/../Frameworks/QtCore.framework
On 2015-05-27 18:36, Thiago Macieira wrote:
> On Wednesday 27 May 2015 17:16:54 Matthew Woehlke wrote:
>> Anyway, a more accurate depiction of my case is:
>>
>> class MyThread : public QObject
>> {
>> QThread self;
>> MyThread() { moveToThread(self); }
>> }
>>
>> ...where again, it is
On 2015-05-28 01:22, Bo Thorsen wrote:
> The finished() signal on QThread - which thread do you expect this to
> run in? And which thread would you expect a slot connected to it to run in?
I don't understand the question. I would expect that the signal is
executed in the QThread thread. I don't s
On Thursday May 28 2015 15:38:41 Nuno Santos wrote:
>MACKIE:64 nsantos$ file
>audiolab.vst/Contents/Frameworks/QtCore.framework/Versions/5/QtCore
>audiolab.vst/Contents/Frameworks/QtCore.framework/Versions/5/QtCore: Mach-O
>64-bit dynamically linked shared library x86_64
That shows QtCore was
> On 28 May 2015, at 12:54, René J.V. Bertin wrote:
>
> On Thursday May 28 2015 10:09:52 Nuno Santos wrote:
>
>>> Stupid question: you did check that not only is the framework bundle there,
>>> its payload is there too exactly as shown?
>>
>> Sorry about my ignorance. what is the payload?
>
m...@rpzdesign.com schreef op 28-5-2015 om 14:33:
> Simple, Store json documents in a Text Field.
>
> Study all the NOSQL implementations (Mongo,Couchbase,etc) and then
> connect the dots between SQLITE and NOSQL.
>
> Avoid SCHEMA or reduce to SCHEMA to minimal levels where you do not
> need "Versi
On Wednesday May 27 2015 23:43:00 Alejandro Exojo wrote:
> I don't know about name the distro packagers chose, but see in the
> installation of the Qt SDK, in: path-to-
> qt/Tools/QtCreator/share/qtcreator/debugger/ There is a README file with
> explanations on how to use those debugging helpers
On Thursday May 28 2015 10:09:52 Nuno Santos wrote:
> > Stupid question: you did check that not only is the framework bundle there,
> > its payload is there too exactly as shown?
>
> Sorry about my ignorance. what is the payload?
The contents of the .framework directory inside the Contents/Fram
Hi,
I’m building a plugin bundle to be loaded by an host app. I’m currently able to
build the plugin bundle and load it on the host program, however, when I use
macdeployqt to put the necessary Frameworks inside the bundle, the host doesn’t
load it anymore with the following error:
Library not
>
> On 28 May 2015, at 09:47, René J.V. Bertin wrote:
>
> On Thursday May 28 2015 08:19:07 Nuno Santos wrote:
>
>> I’m an idiot…
>
> Just your fingers, apparently. I'm increasingly coming to that conclusion
> about my own digits too ;)
> (Maybe you should try using 2 less, or align with compu
On Thursday May 28 2015 08:19:07 Nuno Santos wrote:
>I’m an idiot…
Just your fingers, apparently. I'm increasingly coming to that conclusion about
my own digits too ;)
(Maybe you should try using 2 less, or align with computing practices... ^^)
>I have built tools and run the proper macdeployqt
Hi Bo
It would be really interesting to see your sources and I would be grateful if
you could email them to me
Thanks
Graham
-Original Message-
From: Bo Thorsen [mailto:b...@vikingsoft.eu]
Sent: 27 May 2015 21:56
To: interest@qt-project.org; Graham Labdon
Subject: Re: [Interest] SQLite
m...@rpzdesign.com schreef op 28-5-2015 om 00:25:
> Qt5 + SQLITE + QJsonDocument ==> Degrees of freedom
>
>
Could you go into this a little deeper? What do you mean by this
exactly? How do you use QJsonDocument in combination with SQLite to
obtain your "Degrees of freedom"? Does it still allow yo
I’m an idiot…
I didn’t build tools, as you can see in my configure line. This is because that
configure line was originally made for a static build on windows, were I don’t
need tools such as windeployqt.
However in Mac, I can deploy everything in a bundle, so there is no need for a
static bui
25 matches
Mail list logo