k.
I did a cut down version to show you but that doesn't segfault, so
clearly the error is in my own code.
Thanks!
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
"Programming in Go" - ISBN 03217746
void Database::~Database()
{
if (QSqlDatabase::contains(m_cname)) {
{
QSqlDatabase db = QSqlDatabase::database(m_cname);
db.close();
}
QSqlDatabase::removeDatabase(m_cname);
}
}
Any suggestions as to what I'm doing wrong?
Thanks!
--
Mark Su
ctx.fill();
>ctx.restore();
>}
> }
>
> And it should work fine.
Yes, it does. Thanks for spotting my silly mistake:-)
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
"Programming in Go" - ISBN 0321
ngles even if you enlarge the window, and the yellow triangle is
drawn incorrectly.
I am unfamiliar with the JavaScript Canvas, so perhaps I am making a
mistake?
Thanks!
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and con
On Wed, 30 Jan 2013 09:11:59 -0800
Alan Alpert <4163654...@gmail.com> wrote:
> On Wed, Jan 30, 2013 at 1:24 AM, Mark Summerfield
> wrote:
> > Hi,
> >
> > I noticed that last month there was a discussion on the dev mailing
> > list about creating a qml runtime
Hi Samuel,
On Thu, 31 Jan 2013 13:38:22 +0100
Samuel Rødal wrote:
> On 01/29/2013 01:42 PM, Mark Summerfield wrote:
> > Hi,
> >
> > I am trying to create a "pure" QML program, so may main.cpp is simply:
> >
> > #include
> > #include
&g
they want rapid development & are willing to resolve any efficiency
problems by dropping down to C++ when necessary.
Is this where Qt is headed? Or will the Qt devs "hold the line" and
insist on the need for C++? FWIW I don't have any axe to grind either
way, I just want to k
qsTr()?
- Would this mean that QML would be able to access all or most of the Qt
C++ APIs (e.g., QFile, etc.)?
Thanks!
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
"Rapid GUI Programming with Python and Qt" - ISBN
e that for most QML types the color property is
really the background color; but for Text it is the foreground color.
This seems a bit inconsistent but I guess is too late to change.
Thanks!
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
application's icon.
(I know I could use QApplication, but I am trying to avoid using
QWidget.)
Is it possible to set an application icon, and if so, how?
Thanks!
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
"Advanced Q
client can emit a
signal thats recevied in a slot on a server and vice versa.
> > - An API for reading and writing .gz, .zip, and .tar.gz files.
> QtIOCompressor is not enough?
I think it needs a bit more work. And doesn't support .tar.
--
Mark Summerfield, Qtrac Ltd, w
On Thu, 16 Aug 2012 13:28:25 +0100
Richard Moore wrote:
> On 16 August 2012 13:12, Mark Summerfield wrote:
> > Hi Thiago,
> >
> > On Thu, 16 Aug 2012 13:07:08 +0200
> > Thiago Macieira wrote:
> >> On quinta-feira, 16 de agosto de 2012 10.54.30, Mark Summerf
Hi Thiago,
On Thu, 16 Aug 2012 13:07:08 +0200
Thiago Macieira wrote:
> On quinta-feira, 16 de agosto de 2012 10.54.30, Mark Summerfield wrote:
> > Hi,
> >
> > I hope that Digia proves to be a good steward of Qt---for Qt/Desktop
> > users as well as for Qt/Mobile users
dvanced Qt Programming"'s epiloge.
--
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
C++, Python, Qt, PyQt - training and consultancy
"Advanced Qt Programming" - ISBN 0321635906
http://www.qtrac.eu/aqpbook.html
___
Int
hoice, but
right now it seems a bit under-documented, and requires C++ programming
which makes it too difficult.
So I think that the easiest route into cross-platform GUI programming is
to learn Python (ideally Python 3), and then learn PyQt or PySide for
GUI programmi
15 matches
Mail list logo