On 12/21/12 3:17 AM, Sorvig Morten wrote:
Does the pre built binary use libstdc++ or libc++?
According to otool -L, QtCore from the 5.0.0 binary links against libstdc++.
Doesn't that pretty much precludes us from using most C++11 features?
Using C++11 features like initializers list with
I just switch over the the new stable Qt 5 branch and my code fails to
compile.
One of the error is in QtSingleApplication that refers to
QApplication::Type and it's nowhere to be found.
The only mention in Qt 5 doc is this:
http://qt-project.org/doc/qt-5.0/qcoreapplication.html
But it's
On 12/3/12 10:25 AM, Nurmi J-P wrote:
-Original Message- From:
interest-bounces+jpnurmi=digia@qt-project.org
[mailto:interest- bounces+jpnurmi=digia@qt-project.org] On
Behalf Of Stephen Chu Sent: 3. joulukuuta 2012 16:04 To:
Interest@qt-project.org Subject: [Interest] Where
I just updated from Qt5 git and the following code results in compile error:
QTimer timer;
connect(timer, QTimer::timeout, [=](){});
Error resulted from clang 3.1:
/Qt/5.0/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395:13:
error: no matching function for
in the mentioned error.
Is this designed behavior? It makes using lambda function as slot really
hard since there's no mention in documentation which signals are limited
this way.
FYI. I am using clang 3.1.
On 11/1/12 11:18 AM, Stephen Chu wrote:
I just updated from Qt5 git and the following code
On 10/17/12 11:17 AM, Andrea Franceschini wrote:
2012/10/17 Daniel Price daniel.pr...@fxhome.com:
I always build Qt on the Mac without frameworks. I have no idea
why Qt/mac defaults to using fraweworks as they add no value
(with one exception - the dummy menu nib) and just make
deployment
I am showing a list of item in a QListWidget and would like to allow
user to reorder them by drag-and-drop.
I set the movement to free but it doesn't really do anything. I can't
even select any of the items. The selection mode is set to SingleSelection.
What else should I set so I can reorder
On 10/1/12 9:55 AM, R. Reucher wrote:
On Monday 01 October 2012 15:54:30 R. Reucher wrote:
What else should I set so I can reorder items? Or does QListWidget not
support it?
You have set the dragDropMode property to InterMove!
Correction: the property's value is 'InternalMove'.
That doesn't
On 10/1/12 10:55 AM, Tony Rietwyk wrote:
Sent: Tuesday, 2 October 2012 12:12 AM
On 10/1/12 9:55 AM, R. Reucher wrote:
On Monday 01 October 2012 15:54:30 R. Reucher wrote:
What else should I set so I can reorder items? Or does QListWidget
not support it?
You have set the dragDropMode
I am implementing some threaded task with QtConcurrent framework,
specifically mapped() function.
I have some questions regarding the lifetime of various data used:
Say I have the following code:
QListMyData myList;
... // code to connect myFutureWatcher to slots
auto
On 9/27/12 3:36 AM, Thiago Macieira wrote:
On quarta-feira, 26 de setembro de 2012 18.40.34, Stephen Chu wrote:
I was browsing the platform plugin code and find this new
ThreadedPixmaps capability bit. After checking QPixmap source I think it
means some platforms support using QPixmap in non
On 9/18/12 4:10 AM, Thiago Macieira wrote:
How could I solve this?
In Qt 4 I could specialize the signal using SIGNAL(valueChanged(int)), how
could I do in Qt 5?
void (QSpinBox:: *signal)(int) = QSpinBox::valueChanged;
QObject::connect(spinBox, signal, slider, QSlider::setValue);
On 9/18/12 11:00 AM, Konrad Rosenbaum wrote:
On Tuesday 18 September 2012 14:21:58 Stephen Chu wrote:
On 9/18/12 4:10 AM, Thiago Macieira wrote:
How could I solve this?
In Qt 4 I could specialize the signal using SIGNAL(valueChanged(int)),
how could I do in Qt 5?
void (QSpinBox
On 9/18/12 8:30 AM, Josiah Bryan wrote:
I agree! I can't tell you how many times I've checked and rechecked my
code, only to find out it was a sig/slot mismatch all along. Crikey! :-)
The only problem I have with the new syntax is it doesn't handle the
case when the slot require more arguments
On 9/18/12 7:12 PM, Thiago Macieira wrote:
On terça-feira, 18 de setembro de 2012 18.40.28, Stephen Chu wrote:
On 9/18/12 8:30 AM, Josiah Bryan wrote:
I agree! I can't tell you how many times I've checked and rechecked my
code, only to find out it was a sig/slot mismatch all along. Crikey
Well. This thread is getting a bit OT. Let me bring it back a little. :)
My experience with Qt 5 with Mac is generally good. The only major
issues for me right now is the window title focus bug and detached dock
widget can't be reattached. I have to changed the app behavior to work
around the
On 9/13/12 10:41 AM, Daniel Price wrote:
What are the issues with Apples version of Clang?
Apple's Clang has different versions than the official Clang release.
For example, the one in Xcode 4.4.1 claims to be 4.0 while Clang 3.2 is
not released yet. This caused some problem in compiler feature
On 9/13/12 11:18 AM, Harri Pasanen wrote:
Kind of off topic, but if your code runs also on linux, I find
developing with synergy works well.
http://synergy-foss.org/ It gives the illusion your mac and linux
boxes are one machine.
It really feels real, copy-paste, mouse moves seamlessly
On 9/4/12 6:08 AM, Daniel Price wrote:
Perhaps I'm missing something but a toolbar is a toolbar, no matter
if it's under linux, windows or OSX.
The MacUnifiedToolbar is just style.
I don't see why an API that has worked since 4.x (albeit poorly)
should be removed in Qt5. And I have no
On 9/4/12 6:08 AM, tim.jens...@nokia.com wrote:
maybe you can use some of the code of the qt installer framework
There we have functions to check that this path is a local path.
http://qt.gitorious.org/qt-labs/installer-framework/blobs/master/src/libs/kdtools/kdsysinfo_win.cpp
Cool. Let me
On 9/4/12 3:14 PM, Lorn Potter wrote:
On 31/08/2012, at 3:44 AM, Stephen Chu step...@ju-ju.com wrote:
On 8/30/12 1:35 PM, Thiago Macieira wrote:
On quinta-feira, 30 de agosto de 2012 13.15.36, Stephen Chu wrote:
Hi List.
Is there a way to get a list of currently mounted network volumes
The issue I find most problematic is this:
https://bugreports.qt-project.org/browse/QTBUG-26598
It interrupt the flow of tabbing through the fields and cause some
submitting issues when using QDataWidgetMapper.
Also I get this message every time a QComboBox is clicked:
void
Hi List.
Is there a way to get a list of currently mounted network volumes? Or
just mounted volumes?
I thought QDir::drives() is it but it returns only the root (/) on Mac
and drive letters on Windows. I am looking to get the names of the
server volumes.
Thanks.
On 8/23/12 5:04 AM, André Somers wrote:
So, you *do* have a table model, but you are just displaying it in a
QTreeView? That's very possible, of course. Note that QTableView can be
given the same appearance as QTreeView, but is more efficient at
layouting because it does not need to deal with
Thanks to everyone who helped on the 64-bit internal ID question I
posted. I end up maintaining a copy of index-and-id mapping to work
around it.
Now I have a question on how to properly update the model. My model is a
read-only representation of a database. I am using a QTreeView to hold
the
On 8/21/12 3:35 PM, Christoph Feck wrote:
On Tuesday 21 August 2012 20:55:00 Stephen Chu wrote:
Is there a way to store a 64-bit internal ID in QModelIndex? The
function QModelIndex::internalId() returns a 64-bit number but
there's no way to put one in. The constructor takes only a 32-bit
On 8/21/12 5:47 PM, Nikos Chantziaras wrote:
On 21/08/12 23:55, Stephen Chu wrote:
On 8/21/12 4:26 PM, Nikos Chantziaras wrote:
On 21/08/12 22:45, Stephen Chu wrote:
On 8/21/12 3:35 PM, Christoph Feck wrote:
On Tuesday 21 August 2012 20:55:00 Stephen Chu wrote:
Is there a way to store a 64
On 8/21/12 6:52 PM, Jan Kundrát wrote: On 08/21/12 23:47, Nikos
Chantziaras wrote:
createIndex(row, column, new qint64(value));
This will leak, badly. It also won't likely work the way you intend it
to work, if I understand your problem correctly.
What do you need the 64bit
On 8/13/12 9:24 AM, lars.kn...@nokia.com wrote:
On Aug 8, 2012, at 9:14 PM, ext Stephen Chu step...@ju-ju.com wrote:
I am trying out the new QJsonValue in Qt 5 and find myself wondering:
Does converting a QJsonValue which is an array to a QJsonArray with
QJsonValue::toArray() makes a copy
I am trying out the new QJsonValue in Qt 5 and find myself wondering:
Does converting a QJsonValue which is an array to a QJsonArray with
QJsonValue::toArray() makes a copy of the underlying data?
Say I load a JSON file which is an object that contains an array with
thousands of items using
I am working on my first QWizard app and find that on Mac, the page:
http://qt-project.org/doc/qt-4.8/qwizard.html states: The watermark,
banner, and logo pixmaps are ignored by the MacStyle. If the
BackgroundPixmap is set, it is used as the background for the wizard;
otherwise, a default
On 7/30/12 3:33 PM, Stephen Chu wrote:
I am working on my first QWizard app and find that on Mac, the page:
http://qt-project.org/doc/qt-4.8/qwizard.html states: The watermark,
banner, and logo pixmaps are ignored by the MacStyle. If the
BackgroundPixmap is set, it is used as the background
On 7/23/12 4:52 AM, Bo Thorsen wrote:
Den 22-07-2012 21:49, Stephen Chu skrev:
On 7/22/12 6:30 AM, Bo Thorsen wrote:
Den 21-07-2012 18:27, Stephen Chu skrev:
I am working on a dynamically generated form. One thing I'd like to do
is to reflow the layout into multi-column when the widgets fill
On 7/23/12 2:04 AM, alexander golks wrote:
Am Sun, 22 Jul 2012 15:49:13 -0400
schrieb Stephen Chu step...@ju-ju.com:
Thanks. That works. Do you happen to know how I can get the size of a
window maximized without first maximize it?
what about:
http://qt-project.org/doc/qt-4.8
On 7/22/12 6:30 AM, Bo Thorsen wrote:
Den 21-07-2012 18:27, Stephen Chu skrev:
I am working on a dynamically generated form. One thing I'd like to do
is to reflow the layout into multi-column when the widgets fill the
preset window height.
I need to find out what the current layout height
I am working on a dynamically generated form. One thing I'd like to do
is to reflow the layout into multi-column when the widgets fill the
preset window height.
I need to find out what the current layout height is before I add the
new widget. The problem is, layout geometry is always 0x0
On 6/18/12 2:30 PM, Konstantin Tokarev wrote:
18.06.2012, 22:26, Stephen Chu step...@ju-ju.com:
On 6/18/12 2:22 PM, Robin Burchell wrote:
On Mon, Jun 18, 2012 at 8:11 PM, Stephen Chu step...@ju-ju.com wrote:
When I clone Qt 5 from gitorious, sub-modules like qtbase are not in any
On 6/11/12 10:49 PM, Rohan McGovern wrote:
Stephen Chu said:
I just pulled Qt 5 from git and don't see the new C++11 option. They are
in the master branch of qtbase but Qt 5 doesn't pull that in yet.
Right, that's actually because it appears to have caused a few
regressions. The new qtbase
On 6/12/12 5:12 PM, Thiago Macieira wrote:
On terça-feira, 12 de junho de 2012 15.16.38, Stephen Chu wrote:
I am curious if the runtime issue on OS X has been dealt with?
Yes. We decided not to force libc++. We're still using the compiler default,
whichever that is (currently libstdc
So I grabbed Qt 5 from git to give it a shot again. I am now more
confused then before. :)
The configure script uses pre-processor output from
qtbase/config.tets/arch/arch.cpp to determine the host and target
architectures (around line 3707). I assume this is to setup compiler
flags for
The current Qt 5 alpha release doesn't support building 32-bit on Mac. I
filed a bug on this
https://bugreports.qt-project.org/browse/QTBUG-24952 but hasn't seen
any progress or even acknowledge.
Will 32-bit build be supported in Qt 5? Or we Mac guys will all have to
force our users to 64-bit
On 4/23/12 2:42 PM, Thiago Macieira wrote:
On segunda-feira, 23 de abril de 2012 14.19.19, Stephen Chu wrote:
The current Qt 5 alpha release doesn't support building 32-bit on Mac. I
filed a bug on this
https://bugreports.qt-project.org/browse/QTBUG-24952 but hasn't seen
any progress or even
On 4/23/12 4:32 PM, Nikos Chantziaras wrote:
On 23/04/12 23:19, Paul Miller wrote:
On 4/23/2012 1:19 PM, Stephen Chu wrote:
Will 32-bit build be supported in Qt 5? Or we Mac guys will all have to
force our users to 64-bit land?
I don't know how far back you need to support, but we dropped
On 4/23/12 4:49 PM, Michael Jackson wrote:
I am going to do this from memory but www.apple.com is going to be the source
for the exact answer.
OS X 10.5 was both PPC and Intel and 32 and 64 bit (Kinda/ sort of).
You could install OS X 10.5 on 32/64 bit PPC and some Intel machines. Apple
On 4/23/12 5:11 PM, Michael Jackson wrote:
On Apr 23, 2012, at 4:57 PM, Stephen Chu wrote:
On 4/23/12 4:49 PM, Michael Jackson wrote:
I am going to do this from memory but www.apple.com is going to be the
source for the exact answer.
OS X 10.5 was both PPC and Intel and 32 and 64 bit
On 4/23/12 5:45 PM, Thiago Macieira wrote:
On segunda-feira, 23 de abril de 2012 17.19.56, Michael Jackson wrote:
Gack. I got Qt 4.8 and Qt 5 confused in my last post. As you say, Qt 4.8
should build in 32 bit mode without a problem. I think Tier 2 support means
best try but not officially
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
47 matches
Mail list logo