Re: [Interest] context menu shortcut?

2017-01-16 Thread Shawn Rutledge
> On 16 Jan 2017, at 20:51, René J.V. Bertin wrote: > > Hi, > > I presume that Qt opens the currently defined/available context menu in > reaction to pressing the corresponding key on MS Windows and possibly on > Linux too. > > Is there a way to assign a shortcut to this action on Mac too (a

Re: [Interest] 5.8.0 QAbstractListModel

2017-01-16 Thread mark diener
Bill: I thought I would do a brain dump on what I learned. If your data is bound by the roleNames() mechanism, then the dataChanged( ) function works greatl If your data is retrieved by INVOKABLE functions, then you need to call the following: QModelIndex gi = QModelIndex() ; beginInsertRows(gi

[Interest] context menu shortcut?

2017-01-16 Thread René J . V . Bertin
Hi, I presume that Qt opens the currently defined/available context menu in reaction to pressing the corresponding key on MS Windows and possibly on Linux too. Is there a way to assign a shortcut to this action on Mac too (and on Linux, if not already the case)? Thanks, René _

Re: [Interest] I can´t compile Qt statically (statically link)

2017-01-16 Thread Nuno Santos
Ernesto, I have been able to compile Qt statically on Windows since version 5.6. One thing that have I found is that having the right environment is crucial. I usually open a Visual Studio command prompt and then I run a bat with the following content (currently for 5.8 32 bit) REM Set up \Mic

Re: [Interest] 5.8.0 QAbstractListModel

2017-01-16 Thread Bill Crocker
I do this all of the time and it works fine. QModelIndex index = createIndex(row,col); emit dataChanged(index,index); Have you tried it under 5.8.0RC? It was working under 5.7.1 and before. What value for column are you using? For AbstractListModel, I was using 0 (zero) I am at

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-16 Thread Thiago Macieira
On segunda-feira, 16 de janeiro de 2017 19:04:56 PST Prav wrote: > qtbase\include\qtcore\../../src/corelib/global/qglobal.h(1009) : error > C2039: 'dynamic_cast_will_always_fail_because_rtti_is_disabled' : is not a > member of '`global namespace'' Why is RTTI disabled? Can you provide the build l

Re: [Interest] I can´t compile Qt statically (statically link)

2017-01-16 Thread Thiago Macieira
On segunda-feira, 16 de janeiro de 2017 04:05:28 PST Ernesto wrote: > Hello everyone, > > Now I´m blocked trying to (statically link) compile Qt statically (I´m > using Qt 5.5.0) to runs my applications without Qt and others libraries. > I did the following: First of all, please upgrade. You're n

[Interest] Qt 5.8.0 RC build under windows

2017-01-16 Thread Prav
I tried to compile 5.8.0 RC just to see how healthy it is under windows with msvc2013 (update 5) compiler. As I understand using header and libs of Windows 7 SDK should be OK for building Qt (at least it always was for previous versions). But then I build I got errors. First error is in : qtbas

Re: [Interest] 5.8.0 QAbstractListModel

2017-01-16 Thread Лагнер , Сергей
Taking into account the name of your variable I can assume that your collection is growing. If it is correct you should take a look to beginInsertRows/endInsertRows first. My 2 cents -- Best regards, Sergey Lagner 2017-01-16 6:19 GMT+07:00 mark diener : > Cannot use emit dataChanged(index(0),i

Re: [Interest] Finally about extends my app function ability

2017-01-16 Thread Bob Hood
On 1/15/2017 7:09 PM, Ernesto wrote: I can´t found an explanation of the differences of /reinterpret_cast/ and /dynamic_cast/, because I can´t found information about /reinterpret_cast/ in Qt Documentation (5.5.0 Qt version). These are purely C++ mechanisms, and have nothing to do directly

Re: [Interest] Finally about extends my app function ability

2017-01-16 Thread Andy
On Sun, Jan 15, 2017 at 9:09 PM, Ernesto wrote: > Hello, thanks again to *Bob Hood*, *Konstantin Tokarev* and *Thiago > Macieira*. > > Well, in my previous mail, I show you an example project to test my doubts > about extending app through plugin addition (in this case from Static > Library). Aft

Re: [Interest] 5.8.0 QAbstractListModel

2017-01-16 Thread william.croc...@analog.com
On 01/15/2017 06:19 PM, mark diener wrote: Cannot use emit dataChanged(index(0),index(growcount-1)) to cause re-display of changed values in ListView. Tried every combination: emit dataChanged(index(grow),index(grow)); emit dataChanged(index(0),index(grows)); emit dataChanged(index(0),index(gro

[Interest] I can´t compile Qt statically (statically link)

2017-01-16 Thread Ernesto
Hello everyone, Now I´m blocked trying to (statically link) compile Qt statically (I´m using Qt 5.5.0) to runs my applications without Qt and others libraries. I did the following: First I went to /C:\Qt\Qt5.5.0\5.5\mingw492_32\mkspecs\win32-g++\/ and edited /qmake.conf/ I put in QMAKE_LFL

[Interest] Finally about extends my app function ability

2017-01-16 Thread Ernesto
Hello, thanks again to /Bob Hood/, /Konstantin Tokarev/ and /Thiago Macieira/. Well, in my previous mail, I show you an example project to test my doubts about extending app through plugin addition (in this case from Static Library). After reading all yours considerations several occasions an