Hi,
I usually develop on a Mac. I'm building a mobile app with in app
purchasing options.
Qt Purchasing API doesn't work on a Mac, but it runs anyway.
But now, that i'm running the project on Windows, when I try to launch
the app, it says:
QQmlApplicationEngine failed to load component
Il 04/02/2015 11:05, Nuno Santos ha scritto:
When compiling for Android, moc file as complaining about not having the
implementation of the methods above which means that the preprocessor has
passed over Q_OS_ANDROID, however, QtCreator had that area greyed out.
Could you please send the
Hi,
I have found a workaround for the problem. I have included the
BonjourRecord header because it doesn't have any dependency on
dns_sd.h. This way I can safely declare the slots on the header. The
main problem here is that the moc_ doesn't know about Q_OS_ANDROID when
it is generated
Il 04/02/2015 11:18, Reinhardt Behm ha scritto:
MOC does not understand and therefor does not respect macros and #ifdef.
I'm sorry to be blunt, but this is simply false. moc has had a full C++
preprocessor since Qt 5.0.
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Software Engineer
On Wednesday 04 February 2015 19:32:56 Giuseppe D'Angelo wrote:
Il 04/02/2015 11:18, Reinhardt Behm ha scritto:
MOC does not understand and therefor does not respect macros and #ifdef.
I'm sorry to be blunt, but this is simply false. moc has had a full C++
preprocessor since Qt 5.0.
The
Hi Nuno,
Am Mittwoch, 4. Februar 2015, 18:52:52 schrieb Nuno Santos:
I have found a workaround for the problem. I have included the
BonjourRecord header because it doesn't have any dependency on
dns_sd.h. This way I can safely declare the slots on the header. The
main problem here is that
A typical solution for this problem, is to derive from the class. And have the
bonjour functionally only compiled/linked/moc’ed etc when its available.
Scott
From: interest-bounces+scott.bloom=onshorecs@qt-project.org
[mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On
Il 04/02/2015 19:52, Nuno Santos ha scritto:
The main problem here is that the moc_ doesn't know about Q_OS_ANDROID
when it is generated which will generate entry for the slots that
shouldn't be there.
Right, so it's the compiler complaining about moc-generated code, not
moc itself...
--
A bit ugly but simple solution is to remove that #ifndef from the header
file and put it to slot method definitions, i.e.:
// header file
public slots:
void recordAdded(const BonjourRecord record);
void recordRemoved(const BonjourRecord record);
void bonjourRecordResolved(const
Never used it myself. But if I needed to secure an sqlite db, I would look into
SQLCipher:
https://www.zetetic.net/sqlcipher/
Guido
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
On Wed, Feb 04, 2015 at 12:09:47PM +0100, René J.V. Bertin wrote:
Hello,
The recent discussion about debugging with Qt Creator on OS X reminded me of
an issue I encountered with the version that's installed obligatorily by the
Digia Qt installer. The embedded debugger uses a python
On Wednesday February 04 2015 23:44:25 André Pönitz wrote:
Hi,
The solution is to start LLDB, and use the Python it links to implicitly
by using the LLDB 'script' command, instead of hoping that the system Python
is the right one.
I haven't looked at the Creator code for a while, but
On 05/02/2015 02:42, René J.V. Bertin wrote:
On Wednesday February 04 2015 23:44:25 André Pönitz wrote:
Hi,
The solution is to start LLDB, and use the Python it links to implicitly
by using the LLDB 'script' command, instead of hoping that the system Python
is the right one.
I haven't
On Wednesday 04 February 2015 10:05:12 Nuno Santos wrote:
Hi,
I have been faced with an awkward situation when building an app for
android:
My app uses Bonjour but that is not available on Android, so basically for
android I don’t want to include some slots in a particular class:
We are intending to have a Qt track at this conference, so anyone who would
like to come and present something in May should sign up at the URL below.
Begin forwarded message:
From: Per Henrik Oja p...@oja.no
Subject: Communities! Participate!
Date: 4 February 2015 11:49:44 GMT+1
To:
Hello,
The Qt Contributors' Summit 2015 will be held in Oslo, the home of Qt, in early
June.
This year the venue will be at The Qt Company offices, and we will have an
unofficial get-together on Friday before the Summit.
The event is the annual gathering of Qt contributors (code, tests,
Hi,
I have been faced with an awkward situation when building an app for android:
My app uses Bonjour but that is not available on Android, so basically for
android I don’t want to include some slots in a particular class:
#ifndef Q_OS_ANDROID
void recordAdded(const BonjourRecord record);
void
Thanks for both of your reply. I have compiled Qt 5.3.2 for linuxfb with mtdev
enabled. however, in my application, the touch event is not reported, instead,
the mouse event is received when I press a capacitive touch. the plugin I used
is evdevtouch, anything to be setup for it?
Best regards
Kind of off topic, but hoping that someone has run into the same issue:
I'm working on a cross platform project, now editing Objective-C++ file
(.mm) using XCode. There are also .h .cpp and Qt files in the project.
For some reason XCode shows the syntax errors with few lines off, right
now
[changed subject - was RE: [Interest] Running FancyBrowser / QtWebKit example
causes periodical wifi network delay VOIP interruption, Qt 5.3.2, Windows 7
x64]
Hi all,
I looked into that today again and it looks as if Qt's Network Configuration
Manager was polling the Wifi engine every 10
So presumably the mac Qt has a dummy version of the module that is
omitted from Windows.
I haven't looked at the module in question, but I would imagine just
dropping a similar module to windows would solve the issue. Possibly
even just copying it from Mac, if it is QML only.
Just my 2
Hi
I am just starting to explore Qt support for databases and have this as a first
attempt to open a data base
QSqlDatabase db = QSqlDatabase::addDatabase(QSQLITE);
db.setHostName(bigblue);
db.setDatabaseName(flightdb);
db.setUserName(acarlson);
Am 04.02.2015 um 14:51 schrieb Graham Labdon
graham.lab...@avalonsciences.com:
...
db.setUserName(acarlson);
db.setPassword(1uTbSbAs);
Those are not your real credentials, right? *Right*?
;)
Cheers,
Oliver
___
Interest mailing list
...
QSqlDatabase db = QSqlDatabase::addDatabase(QSQLITE);
...
bool ok = db.open();
When I run this ok is always true, no matter what arguments are passed.
I am not experienced with SQLITE, but is it possible that each time a new DB
instance (file) is created, if no such instance
Am Wed, 4 Feb 2015 15:01:50 +0100
schrieb Till Oliver Knoll till.oliver.kn...@gmail.com:
...
QSqlDatabase db = QSqlDatabase::addDatabase(QSQLITE);
...
bool ok = db.open();
When I run this ok is always true, no matter what arguments are passed.
I am not experienced
On 04.02.2015 22:18, alexander golks wrote:
Am Wed, 4 Feb 2015 15:01:50 +0100
schrieb Till Oliver Knoll till.oliver.kn...@gmail.com:
...
QSqlDatabase db = QSqlDatabase::addDatabase(QSQLITE);
...
bool ok = db.open();
When I run this ok is always true, no matter what arguments
Den 04-02-2015 kl. 15:18 skrev alexander golks:
Am Wed, 4 Feb 2015 15:01:50 +0100
schrieb Till Oliver Knoll till.oliver.kn...@gmail.com:
...
QSqlDatabase db = QSqlDatabase::addDatabase(QSQLITE);
...
bool ok = db.open();
When I run this ok is always true, no matter what
--
Best Regards
Reinhardt Behm
mailto: rb...@hushmail.com
Skype: reinhardt.behm
A different header file is possible but a bit messy solution.
You can use the macro in the .cpp to create one real slot function and one for
android which is just an empty dummy.
Moc does not care what you do in
Not in Qml as far as I know.
The thing is that this shouldn’t be this way.
Qt Purchasing doesn’t work on Mac also but it is able to find the module and
avoid the error.
On 04 Feb 2015, at 11:43, Daniel França daniel.fra...@gmail.com wrote:
Can you use a ifdef clause? like this
not sure how the graphicsitem comes into all of this, but no you cant draw
on it. you can draw on a QGraphicsWidget or you can derive from
QGraphicsItem and draw in its paint() method.
2015-02-03 23:47 GMT+01:00 Alexander Semke alexander.se...@web.de:
Am Dienstag, 3. Februar 2015, 11:36:55
Hi,
Thanks for your reply.
How can I workaround this situation? Create a specific source file for Android?
Any other ideas?
Thanks,
Nuno
On 04 Feb 2015, at 10:18, Reinhardt Behm rb...@hushmail.com wrote:
On Wednesday 04 February 2015 10:05:12 Nuno Santos wrote:
Hi,
I have been faced
moc conversion will not pre- or post-process anything, so this phase should
not be your problem, as moc files are generated from your header files, and
only after this generation, the compile phase takes place, and for sure,
the compiler should care about macro definitions.
could you post how the
Guido Seifert schreef op 4-2-2015 om 15:37:
Never used it myself. But if I needed to secure an sqlite db, I would look
into SQLCipher:
https://www.zetetic.net/sqlcipher/
Guido
___
Interest mailing list
Interest@qt-project.org
33 matches
Mail list logo