Re: [Interest] Loader refresh

2015-09-14 Thread Bo Thorsen
If it's just about language changes, it's pretty easy to fix. Just add a function that updates the string on each text item. Exactly like a ui_xx.h file does it. One hack I've seen but never tried is to have a c++ object that has a string property. The property is actually always empty, but on

Re: [Interest] Qt3D with .mtl?

2015-09-14 Thread Sean Harmer
As Laszlo said, Mesh intentionally doesn't load in the material properties from an mtl file. This is so that you can specify your own Material. This is more flexible than the lighting models offered by mtl files (traditional Phong model). The SceneLoader generates a Mesh and a Material compone

Re: [Interest] Qt5.5, VS2013 chain, compile warnings and linking errors

2015-09-14 Thread Thiago Macieira
On Monday 14 September 2015 08:58:37 Jason Kretzer wrote: > INCLUDEPATH += "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include" > LIBS += -L"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib" > -ladvapi32 Remove the paths to the SDKs. Those should be added to your environment by the

Re: [Interest] Qt5.5, VS2013 chain, compile warnings and linking errors

2015-09-14 Thread Jason Kretzer
My apologies but the answer was a simple one: LIBS += -L"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib" -ladvapi32 -luser32 I completely forgot to link the user32.lib. -Jason From: Jason Kretzer Sent: Monday, September 14, 2015 11:59 AM To: interest@qt-project.org Subject: Qt5.5, VS20

Re: [Interest] Qt5.5, VS2013 chain, compile warnings and linking errors

2015-09-14 Thread Gunnar Roth
I hardy believe Windows v7.1A sdk is going to work with VS2013. AFAIK VS 2013 RTM includes the Windows Software Development Kit (SDK) forWindows 8.1 Why don’t you just remove the old sdks patches from your .pro file and retry? regards, Gunnar Roth > Am 14.09.2015 um 17:58 schrieb Jason Kretzer

[Interest] Qt5.5, VS2013 chain, compile warnings and linking errors

2015-09-14 Thread Jason Kretzer
I have been searching for an answer to this but no luck as yet. Using Qt5.5 32bit, VS2013 on Win8 64bit My .pro file contains this: INCLUDEPATH += "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Include" LIBS += -L"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib" -ladvapi32 I have c

Re: [Interest] QList and erase problem...

2015-09-14 Thread Julien Cugnière
2015-09-14 17:13 GMT+02:00 Igor Mironchik : > Hi, > > it seems that problem not in the iterating and deletion from cantainer... Yes it is. As Andre told you, erasing from the list invalidates iterators, including the one returned by end(). As you cache the "end" iterator in the "last" variable at

Re: [Interest] QList and erase problem...

2015-09-14 Thread Igor Mironchik
Look in while statement 9/14/2015 6:28 PM, Croitor Alexandru пишет: The documentation for QList::erase says: -- Removes the item associated with the iterator /pos/ from the list, and returns an iterator to the next item in the list (which may be end ()). Documentation for iterator::oper

Re: [Interest] QList and erase problem...

2015-09-14 Thread Croitor Alexandru
The documentation for QList::erase says: -- Removes the item associated with the iterator *pos* from the list, and returns an iterator to the next item in the list (which may be end ()). Documentation for iterator::operator++() says: Calling this function on QList::end () leads to undefined res

Re: [Interest] QList and erase problem...

2015-09-14 Thread william.croc...@analog.com
On 09/14/2015 11:13 AM, Igor Mironchik wrote: > Hi, > > it seems that problem not in the iterating and deletion from cantainer... > > I wrote simple test app and everything is ok. > > But something here crashes my app and only in release mode, so I can't > understand what is the problem... > > And

[Interest] QtQuick Controls TableView resizeColumnsToContents

2015-09-14 Thread Stéphane Fabry
Hi, The documentations says : "Resizes all columns to ensure that the column contents and *the headers *will fit." But it only takes care of the content. For example, if the table is empty the function does nothing. How to resize the columns to take into account for the header size ? Tha

Re: [Interest] QList and erase problem...

2015-09-14 Thread Igor Mironchik
Hi, it seems that problem not in the iterating and deletion from cantainer... I wrote simple test app and everything is ok. But something here crashes my app and only in release mode, so I can't understand what is the problem... And ideas? 9/14/2015 6:06 PM, André Somers пишет: > Op 14-9-2015

Re: [Interest] QList and erase problem...

2015-09-14 Thread André Somers
Op 14-9-2015 om 16:57 schreef Igor Mironchik: > Hi, > > I ran into this problem... > > void > ImageFilesStoragePrivate::removeAllImages( > QList< ImageRecord > & images, > ImageFilesStorage::ImageType type ) > { > QList< ImageRecord >::Iterator it = images.begin(); > QList<

Re: [Interest] Loader refresh

2015-09-14 Thread m...@rpzdesign.com
Bo: Thanks for the response. The only other areas that I can see needing a screen refresh are ListView and Image (Imageprovider) The Text QML object was shared as one example of "changing" after the loader is when you swap out the language from English to Chinese to Arabic. I think this is wh

Re: [Interest] icons in menus

2015-09-14 Thread René J . V . Bertin
René J. V. Bertin wrote: > And FWIW, I cannot find where AA_DontShowIconsInMenus is set in the default > attributes on OS X (and other platforms where this would be required). That > should be the initialisation of uint QCoreApplicationPrivate::attribs in > qcoreapplication.cpp, no? Confirmed, th

[Interest] QList and erase problem...

2015-09-14 Thread Igor Mironchik
Hi, I ran into this problem... void ImageFilesStoragePrivate::removeAllImages( QList< ImageRecord > & images, ImageFilesStorage::ImageType type ) { QList< ImageRecord >::Iterator it = images.begin(); QList< ImageRecord >::Iterator last = images.end(); while( it != last )

Re: [Interest] icons in menus

2015-09-14 Thread René J . V . Bertin
Rutledge Shawn wrote: >> No. >> >> Applications on OS X don't have icons in the menu - as per Apple HIG. Yes, that's what should be the case. >> Also refer to http://doc.qt.io/qt-5/qt.html#ApplicationAttribute-enum >> >> (Not sure whether it is necessary to explicitly set >> >> Qt::AA_DontSh

Re: [Interest] icons in menus

2015-09-14 Thread Rutledge Shawn
On 14 Sep 2015, at 12:05, Till Oliver Knoll wrote: > >> Am 13.09.2015 um 16:50 schrieb René J.V. Bertin : >> >> Hi, >> >> Is it to be expected that I have icons in the items of the global menubar of >> the Assistant, Designer and Linguist apps, using the Qt 5.5.0 Cocoa build? > > No. > > A

Re: [Interest] icons in menus

2015-09-14 Thread Till Oliver Knoll
> Am 13.09.2015 um 16:50 schrieb René J.V. Bertin : > > Hi, > > Is it to be expected that I have icons in the items of the global menubar of > the Assistant, Designer and Linguist apps, using the Qt 5.5.0 Cocoa build? No. Applications on OS X don't have icons in the menu - as per Apple HIG.

Re: [Interest] Qt3D with .mtl?

2015-09-14 Thread Agocs Laszlo
Hi, You are probably using Mesh which won't ever look at the .mtl file because it only imports geometry. Use SceneLoader instead. It is backed by Assimp which is able to read material data and texture references from the .mtl files. Best regards, Laszlo F

Re: [Interest] Loader refresh

2015-09-14 Thread Bo Thorsen
Hi md, I don't know what it is you see, you just say it flickers. We use a lot of Loader objects for customer code, and that doesn't flicker. The only guess I have on how this could happen is if you have lots of bindings that keep propagating through the system. For example, you mentioned a Te