Re: [Interest] Just me... or is the current qt5 head broken?

2013-09-23 Thread Mandeep Sandhu
I just updated my qt5 repo (along with `git submodule update qtbase`) and it built fine without errors. The head (ignoring a merge commit created by my changes) is at: 433e143b231a7cc7f1b37ce85d5ee6c3e06efab0 Qtbase head is at: edf1a5706eebb6f2df14c5f524c7261f88d6cd75 HTH, -mandeep On Tue, Sep

Re: [Interest] QGraphicsScene crashed after removeItem() and delete item

2013-09-23 Thread Alex Malyushytskyy
Sorry for incomplete post earlier. I am not using qt 5, but if I am not mistaken QGraphicsScene code was migrated from QT4, so if assumption that no bug was introduced you do nothing wrong unless deleting leads to the problem in the code you did not post ( using outdated pointer for example ) I w

Re: [Interest] QGraphicsScene crashed after removeItem() and delete item

2013-09-23 Thread Alex Malyushytskyy
I am not using qt 5, but if I am not mistaken QGraphicsScene code was migrated from QT4 On Sun, Sep 22, 2013 at 8:56 AM, 程梁 wrote: > Hi, there! I have a problem: when I called QGraphicsScene::removeItem() > then delete the removed item, my application crashed. This happens on Qt5 > 64bits (I te

Re: [Interest] Just me... or is the current qt5 head broken?

2013-09-23 Thread Guido Seifert
> try "git clean -dfx" and see if that fixes it. Would this help? I did a fresh clone/init-repositories. Can I get an even cleaner code? Waiting is of course no problem. But only if I am sure it is _not_ on my side. Else I could wait forever and nothing would change. :-) Guido

Re: [Interest] Just me... or is the current qt5 head broken?

2013-09-23 Thread Thiago Macieira
On segunda-feira, 23 de setembro de 2013 19:06:45, Ahumada Sergio wrote: > which is not yet merged because of an autotest failure that is being handled > by https://codereview.qt-project.org/66226 That's caused by the QTimeZone changes that went in yesterday. Something wrong with daylight savings

Re: [Interest] Just me... or is the current qt5 head broken?

2013-09-23 Thread Ahumada Sergio
> > So it's not just you. The current qt5.git is broken. > > The commit message says "Merge branch 'dev' into stable", but it appears not > to have worked. qtbase is missing almost 900 commits. the qt5 merge didn't update the submodule's sha1s. that's being handled by https://codereview.qt-proje

Re: [Interest] Just me... or is the current qt5 head broken?

2013-09-23 Thread Guido Seifert
> So it's not just you. The current qt5.git is broken. Thanks, that's all I needed to know. I don't have to search anymore, e.g. for a new script which suddenly has to be executed (init-repositories2), and the list got the message that something is wrong at the moment. :-) Guido

Re: [Interest] Just me... or is the current qt5 head broken?

2013-09-23 Thread Thiago Macieira
On segunda-feira, 23 de setembro de 2013 18:54:32, Guido Seifert wrote: > -I. -I../../include -I../../include/QtXmlPatterns > -I../../include/QtXmlPatterns/5.2.0 > -I../../include/QtXmlPatterns/5.2.0/QtXmlPatterns -Iacceltree -Idata -Iapi > -Ienvironment -Iexpr -Ifunctions -Iiterators -Ijanitors -I

Re: [Interest] Just me... or is the current qt5 head broken?

2013-09-23 Thread Guido Seifert
> It's your side. > > This member was added on 13c16bbd06e0034210ba2164f1be208c49a6e3a7, about 3½ > weeks ago. > > The most likely scenario is that you have an older qdatetime.h being found in > your system. Check if /usr/include/QtCore/qdatetime.h exists. If it does, > remove it. Nope, does

[Interest] Just me... or is the current qt5 head broken?

2013-09-23 Thread Guido Seifert
Hi, I just cloned qt5 from gitorious. commit 433e143b231a7cc7f1b37ce85d5ee6c3e06efab0 I get: data/qabstractdatetime.cpp:287:16: error: ‘class QDateTime’ has no member named ‘setOffsetFromUtc’ result.setOffsetFromUtc(zoOffset); As subjects asks: Problem on my side, or in repository?

Re: [Interest] Flat directory structure for Qt 5.2 documentation

2013-09-23 Thread Pasion Jerome
Hello, The 'stable' and 'dev' links in doc-snapshot.qt-project.org now points to the flat directory structure. I also removed the qt5-nosubdir link. for 5.2: -current tasks for 5.2 are in https://bugreports.qt-project.org/browse/QTBUG-32173 these are mostly new features for 5.2 and the editing

Re: [Interest] Just me... or is the current qt5 head broken?

2013-09-23 Thread Thiago Macieira
On segunda-feira, 23 de setembro de 2013 17:58:49, Guido Seifert wrote: > Hi, > I just cloned qt5 from gitorious. commit > 433e143b231a7cc7f1b37ce85d5ee6c3e06efab0 > > I get: > > data/qabstractdatetime.cpp:287:16: error: ‘class QDateTime’ has no member > named ‘setOffsetFromUtc’ result.setOffsetF

Re: [Interest] Determining WLAN connection status and connected SSID

2013-09-23 Thread Thiago Macieira
On segunda-feira, 23 de setembro de 2013 10:51:51, noname wrote: > Did I do something wrong here or go the wrong way about getting the > infos I need? You're doing the right thing. But it looks like the bearer management support for Android hasn't been written yet. -- Thiago Macieira - thiago.

Re: [Interest] QMap significantly slower than QMap

2013-09-23 Thread Carel Combrink
Perhaps this article might be of use in this discussion: http://woboq.com/blog/qmap_qhash_benchmark.html ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QMap significantly slower than QMap

2013-09-23 Thread Mandeep Sandhu
On Mon, Sep 23, 2013 at 3:58 PM, Philippe wrote: > ** > I was told the QMap implementation was changed from Qt 4 to 5, to improve > performances... I guess some other tests give different results?... > I had a look at the commit logs. The commit that introduced this change states that it's done

Re: [Interest] QMap significantly slower than QMap

2013-09-23 Thread Philippe
I was told the QMap implementation was changed from Qt 4 to 5, to improve performances... I guess some other tests give different results?... Philippe On Mon, 23 Sep 2013 15:15:37 +0530 Mandeep Sandhu wrote: > Actually, everything's a little slower with Qt5. Is C++11 enabled by default? > Cou

Re: [Interest] QMap significantly slower than QMap

2013-09-23 Thread Mandeep Sandhu
> Actually, everything's a little slower with Qt5. Is C++11 enabled by default? Could that be the cause of degraded performance? > > Qt 5 uses RB tree in QMap > Ah! That explains similar performance of QMap with std::map (though iteration is slower than std::map). But why was RB tree used when i

Re: [Interest] QMap significantly slower than QMap

2013-09-23 Thread Konstantin Tokarev
23.09.2013, 12:27, "Mandeep Sandhu" : >> Here are my results (g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3, Intel core >> i7, 1.2GHz, 8 GB RAM). >> >> $ ./qtvsstl 1000 >> >> Timing insertion of 1000 items... >> QMap : 1737 msecs >> QHash : 821 msecs >> STL map : 5458 msecs >> >> Timing iterat

[Interest] Determining WLAN connection status and connected SSID

2013-09-23 Thread noname
Hi everyone, I'm currently trying to a) detect if a device (Android in my case) is connected to a WLAN, and b) if it is, get the network's SSID. Is there a Qt-way to do so? I've tried getting all QNetworkConfigurations (QNetworkConfigurationManager::allConnections()), and there's exactly one r

Re: [Interest] Qt Creator not finding Qt's headers

2013-09-23 Thread Nikolai Kosjar
On 09/17/2013 05:31 PM, Andrea Franceschini wrote: > Whenever I include some header like QApplication or QWidget, Creator > complains about not being able to find the header. If I build the > project, however, everything goes according to plans. I'm on OS X > 10.8.4 using Qt 5.1.0 and I've just upg

Re: [Interest] QMap significantly slower than QMap

2013-09-23 Thread Mandeep Sandhu
> Here are my results (g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3, Intel core > i7, 1.2GHz, 8 GB RAM). > > $ ./qtvsstl 1000 > > Timing insertion of 1000 items... > QMap : 1737 msecs > QHash : 821 msecs > STL map : 5458 msecs > > Timing iteration over 1000 items... > QMap : 156 msecs > QHa

Re: [Interest] QMap significantly slower than QMap

2013-09-23 Thread Mandeep Sandhu
On Sun, Sep 22, 2013 at 4:42 PM, Konstantin Tokarev wrote: > > 22.09.2013, 13:24, "Etienne Sandré-Chardonnal" : > > I don't, I have very only strong conviction from tests on a big large > program. I was hoping that someone had an idea about the cause... Would > this help to make one? > > I did a q