Re: [Interest] What about C++ in Qt 5?

2012-04-11 Thread 程梁
I hope so, otherwise we have to face something like Qt 3 and 4 again maybe in Qt 5 and 6. 在 2012年4月11日 下午4:30,Danny Price 写道: > I'm really hoping it's just marketing spin. I've tried QML and I've > found it MORE work, not less to deploy a standalone Qt app written in > 'QtQuick' than compared to

Re: [Interest] [ Missing pixels when using drawLine ]

2012-04-11 Thread Alex Malyushytskyy
There is no point in excessive color usage. Most of people would would read it if you do not. At least attempt to do it made my eyes tired, so I could not pass second line. Alex ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.or

Re: [Interest] Qt 5 requirements: xcb or wayland required

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 23.19.02, Nikos Chantziaras wrote: > On 11/04/12 22:56, Carl Schumann wrote: > > Qt 5 community, > > > > I notice some documentation that states that the current Qt 5 Alpha > > requires xcb or wayland. Is this requirement expected to be relaxed in > > future r

Re: [Interest] Qt 5 requirements: xcb or wayland required

2012-04-11 Thread kate.alhola
On Apr 11, 2012, at 11:19 PM, ext Nikos Chantziaras wrote: > On 11/04/12 22:56, Carl Schumann wrote: >> Qt 5 community, >> >> I notice some documentation that states that the current Qt 5 Alpha >> requires xcb or wayland. Is this requirement expected to be relaxed in >> future releases? >> >>

Re: [Interest] Qt 5 requirements: xcb or wayland required

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 14.56.13, Carl Schumann wrote: > Qt 5 community, > > I notice some documentation that states that the current Qt 5 Alpha > requires xcb or wayland. Is this requirement expected to be relaxed in > future releases? Technically speaking, Qt 5 requires neither.

Re: [Interest] Qt 5 requirements: xcb or wayland required

2012-04-11 Thread Nikos Chantziaras
On 11/04/12 22:56, Carl Schumann wrote: > Qt 5 community, > > I notice some documentation that states that the current Qt 5 Alpha > requires xcb or wayland. Is this requirement expected to be relaxed in > future releases? > > I am not an expert, so I don't really even understand what xcb or > way

[Interest] Qt 5 requirements: xcb or wayland required

2012-04-11 Thread Carl Schumann
Qt 5 community, I notice some documentation that states that the current Qt 5 Alpha requires xcb or wayland. Is this requirement expected to be relaxed in future releases? I am not an expert, so I don't really even understand what xcb or wayland's role would be in Qt 5. But I am at a shop

Re: [Interest] QtArg

2012-04-11 Thread Thiago Macieira
On terça-feira, 10 de abril de 2012 20.01.56, Thiago Macieira wrote: > Well, Apple and Microsoft broke that promise long ago already. The widgets > are hardly enough to continue following the style and look and feel of > their desktop platforms. One codebase without #ifdefs will not look > complet

[Interest] QGraphicsScene/View/Item References

2012-04-11 Thread BRM
Kind of following up to my To QML or Not To QML thread from about a month ago... I'm working on a test application to get familiar with the APIs; at the moment I'm just working with QGraphicsScene and QGraphicsItem. However, I am having some issues; but finding the documentation not helping too

Re: [Interest] query about QT textbooks

2012-04-11 Thread Sivan Greenberg
On Wed, Apr 11, 2012 at 3:49 PM, Jason H wrote: > Fortunately that book is free. > http://ptgmedia.pearsoncmg.com/images/9780131879058/downloads/0131879057_Ezust_book.pdf > > This is indeed a very good book. I even have it in print for the second edition, also this one kind of helped fit the piec

[Interest] Subclassing QStyledItemDelegate to implement multi-color text in a single QTableView cell/item?

2012-04-11 Thread Carl Schumann
Qt community, I am trying to use Qt to replace an old program that uses multi-color text strings within a single spreadsheet cell in its user interface. With Qt 4.5 I had success by subclassing QStyledItemDelegate. With Qt 4.8 I found that the text did not appear entirely within cell and wa

Re: [Interest] query about QT textbooks

2012-04-11 Thread David Ching
Subject: [Interest] query about QT textbooks Mark Griffith > I'd like to ask about books anyone can recommend for beginner developers using QT. See my blog post: http://dcsoft.wordpress.com/2010/01/30/qt-book-download-c-gui-programming-wi th-qt-4-second-edition-by-jasmin-blanchette-and-mark-summe

Re: [Interest] QtArg

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 18.20.52, Nikos Chantziaras wrote: > > If you have started to look into this, let us know quickly which > > modifications you have to make. Some of the transition needs might be > > unintentional and we still have time to fix them. > > Mostly differences with id

Re: [Interest] QtArg

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 11.17.11, Stephen Chu wrote: > On 4/11/12 11:02 AM, Thiago Macieira wrote: > > And notwithstanding the language choice, we are completely convinced that > > the current QPainter drawing model is obsolete. It was correct in the > > 1990s and early 2000s, but it's

Re: [Interest] QtArg

2012-04-11 Thread Nikos Chantziaras
On 11/04/12 18:02, Thiago Macieira wrote: > On quarta-feira, 11 de abril de 2012 17.46.55, Nikos Chantziaras wrote: >>> [...] >> Lots of people seem to think that porting from Qt 4 to 5 would require >> the same amount of refactoring work as the change from Qt 3 to 4. All I >> can say is "don't pa

Re: [Interest] QtArg

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 16.59.09, R. Reucher wrote: > But you shouldn't really "fear" that... "superior technology" will never be > based on JavaScript. And again, I see it as a very high-level alternative > and nothing else. We should keep it that way and not push it by discussing > t

Re: [Interest] QtArg

2012-04-11 Thread Stephen Chu
On 4/11/12 11:02 AM, Thiago Macieira wrote: > And notwithstanding the language choice, we are completely convinced that the > current QPainter drawing model is obsolete. It was correct in the 1990s and > early 2000s, but it's no longer how graphics hardware works. I totally agree on replacing the

Re: [Interest] QtArg

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 17.46.55, Nikos Chantziaras wrote: > On 11/04/12 16:03, Thiago Macieira wrote: > > I understand that. Yes, I expect Qt 4 to be used for a long time too, but > > I > > really, really hope that there is no push to come to shove. I really > > expect > > that transi

Re: [Interest] QtArg

2012-04-11 Thread R. Reucher
On Wednesday 11 April 2012 16:46:55 Nikos Chantziaras wrote: > So this isn't why I "fear" Qt 5. What makes me uneasy is how Qt seems > to slowly (but surely?) deprecate C++ for JavaScript. I believe all GUI > code should be in C++. JavaScript, like all dynamic and weakly-typed > languages, alway

Re: [Interest] QtArg

2012-04-11 Thread Nikos Chantziaras
On 11/04/12 16:03, Thiago Macieira wrote: > On quarta-feira, 11 de abril de 2012 10.34.58, Rui Maciel wrote: > [...] >> Honestly, I expect Qt4 to be kept in use for a long time. And if push >> comes to shove, I suspect that some Qt4 users will be more keen to >> invest in a Qt4 fork or even ditchi

[Interest] two QT beginner book suggestions much appreciated, thanks

2012-04-11 Thread Mark Griffith
. Dear Danny Price, Dear Jason H thanks very much for your two suggestions : the Ezust book about C++ patterns as .pdf and Foundations of Qt Development by Johan Thelin. Very kind of you both to indulge my frustrated complaints. Am downloading the Ezust .pdf by Alan and Paul Ezust ('Silver'

Re: [Interest] QGraphicsItem: How to limit the position to which it is moved?

2012-04-11 Thread Giuseppe D'Angelo
On 11 April 2012 05:37, Douglas Scott wrote: > > I do not understand where I can intercept the setting of the object's > position on the screen.  I thought I could redefined > QGraphicsItem::itemChange() and watch for ItemPositionChange and HasChanged > -- but I never get any of these notification

Re: [Interest] QGraphicsItem: How to limit the position to which it is moved?

2012-04-11 Thread Jason H
Are you moving by mouse? I would look into trapping mouseDown, mouseMove and mouseUp, and calling move() yourself. From: Douglas Scott To: interest@qt-project.org Sent: Wednesday, April 11, 2012 12:37 AM Subject: [Interest] QGraphicsItem: How to limit the pos

Re: [Interest] QtArg

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 10.34.58, Rui Maciel wrote: > On 04/10/2012 07:46 PM, Thiago Macieira wrote: > > Which is a pity. There's a lot of functionality in the KDE libs that you > > should use. You should consider transforming your Qt-only app into a KDE > > one. > Why? I thought I ha

Re: [Interest] QtArg

2012-04-11 Thread Thiago Macieira
On quarta-feira, 11 de abril de 2012 10.51.04, Rui Maciel wrote: > On 04/11/2012 02:27 AM, Thiago Macieira wrote: > > Yes, you're reading too much. Desktop is still important. > > > > But there's a limit of how much we can force contributors who are > > interested on mobile to work on desktop too.

Re: [Interest] query about QT textbooks

2012-04-11 Thread Jason H
The key to using Qt correctly is learning the design patterns it provides. Therefore a book on that would be the best place to start. Fortunately that book is free. http://ptgmedia.pearsoncmg.com/images/9780131879058/downloads/0131879057_Ezust_book.pdf My comments about using Qt are thus: if it

Re: [Interest] query about QT textbooks

2012-04-11 Thread Dan White
My response to your question is a request for more details about your current abilities as a software developer. What platforms and languages (compiled, scripted, anything that can run) are you comfortable and experienced with ? The older versions of Qt were exclusively C++, so if you did not k

Re: [Interest] query about QT textbooks

2012-04-11 Thread R. Reucher
On Wednesday 11 April 2012 13:55:20 Mark Griffith wrote: > I'd like to ask about books anyone can recommend for beginner developers > using QT. The tutorials on the site have some value, but they really > aren't good enough, as I explain below. If you're bored easily, don't read > on. There's a boo

[Interest] query about QT textbooks

2012-04-11 Thread Mark Griffith
. I'd like to ask about books anyone can recommend for beginner developers using QT. The tutorials on the site have some value, but they really aren't good enough, as I explain below. If you're bored easily, don't read on. --  --  --  --  -- I'm a bit wearied by the constant use of undefined

Re: [Interest] How to use unit testing with Qt framework properly

2012-04-11 Thread Samuel Gaist
Hi, Using the subdir template, you would only have one project opened in Creator, all the other "subproject" are contained in it. So only one build to manage and you can select which test you'd like to run in the run settings panel. And if you want to run them all every time you build, add a bu

Re: [Interest] QtArg

2012-04-11 Thread R. Reucher
On Wednesday 11 April 2012 11:51:04 Rui Maciel wrote: > On 04/11/2012 02:27 AM, Thiago Macieira wrote: > > Yes, you're reading too much. Desktop is still important. > > > > But there's a limit of how much we can force contributors who are > > interested on mobile to work on desktop too. Right now,

Re: [Interest] QtArg

2012-04-11 Thread Rui Maciel
On 04/11/2012 02:27 AM, Thiago Macieira wrote: > Yes, you're reading too much. Desktop is still important. > > But there's a limit of how much we can force contributors who are interested > on mobile to work on desktop too. Right now, those people seem to be the > majority. if you want to see the n

Re: [Interest] QtArg

2012-04-11 Thread Rui Maciel
On 04/10/2012 09:23 PM, Thiago Macieira wrote: > On terça-feira, 10 de abril de 2012 22.53.01, Nikos Chantziaras wrote: >> Bundling KDE libs? It's much simpler to not use KDE functionality. >> Otherwise you end up with a big size that is unsuitable for small >> utility applications. > > Ah, but so

Re: [Interest] QtArg

2012-04-11 Thread Robin Burchell
On Wed, Apr 11, 2012 at 11:34 AM, Rui Maciel wrote: > I don't expect every project that was based on Qt to be rewritten with a > rebase on Qt 5 in mind, let alone in a 18 month time frame.  This is > simply unreasonable. huh? who said anything about rewrites? Qt 5 is Qt 4, reorganised, with a few

Re: [Interest] QtArg

2012-04-11 Thread Rui Maciel
On 04/10/2012 08:39 PM, Jason H wrote: > Sound idiotic, but it would be an improvement. Some improvements come at a cost which isn't acceptable for multiple reasons, including practical ones. It's one of those "how things should be Vs how things really are" kind of deals. Rui Maciel _

Re: [Interest] QtArg

2012-04-11 Thread Rui Maciel
On 04/10/2012 07:46 PM, Thiago Macieira wrote: > On terça-feira, 10 de abril de 2012 21.15.29, Nikos Chantziaras wrote: >> Furthermore, Qt application can't use KDE libraries, because then they >> would be KDE applications, not Qt applications. Qt 4 application run >> very nice in KDE. Qt 5 appl