interest@qt-project.org

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Thu, Sep 28, 2017 at 5:02 AM, Mitch Curtis wrote: > It could be https://bugreports.qt.io/browse/QTBUG-54088? > > > > The issue isn’t in the .pro; the integrated InputPanel approach (or > ”Applictaion integration”: http://doc.qt.io/qt-

Re: [Interest] Add readline key bindings to all qt input boxes such as QFileDialog

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Thu, Sep 28, 2017 at 7:55 PM, Amos Bird wrote: > Hi, > > How can I change the key bindings in all qt input boxes such as > QFileDialog? I'd like to add > readline keys to them. > > regards, > > – > Amos Bird > amosb...@gmail.com > > _

Re: [Interest] Qt and Clang

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Wed, Oct 4, 2017 at 10:31 AM, Thiago Macieira wrote: > On Wednesday, 4 October 2017 00:02:03 PDT Carel Combrink wrote: > > Hi, > > > > Do I need to rebuild Qt if I want to start using clang as my build tools > on > > Windows and Linux

Re: [Interest] Qt3D Stencil example?

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Mon, Sep 25, 2017 at 3:25 PM, Gil H wrote: > Thanks very much for the example, Sean. It’s much clearer now that I see > RenderStates in use (for some reason I thought they only applied in Effect)… > > There is a pretty serious issue t

Re: [Interest] Qt iOS - Customization of EditMenu

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Tue, Sep 26, 2017 at 2:45 AM, coroberti . wrote: > Hi, > iOS developers are able to customize EditMenu (the one used to Select, > Select All, Copy, Cut, Paste, Speak, etc.) > using clear Apple's API. > > Once I've used the approach re

Re: [Interest] Cross compiling for Pi with PostgreSQL

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Tue, Sep 26, 2017 at 12:56 PM, Roland Hughes wrote: > All, > > Has anybody on this list managed to use the cross compilation instructions > from either here: > https://www.ics.com/blog/configuring-qt-creator-raspberry-pi > or here: >

Re: [Interest] Qdial ticks

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Tue, Sep 26, 2017 at 5:14 PM, Thiago Macieira wrote: > On terça-feira, 26 de setembro de 2017 14:23:14 PDT Phil wrote: > > Thank you for reading this. > > > > I have created a form that includes a dial with Qt Designer. I have > > ena

Re: [Interest] Crash dump related to QtCharts::QDateTimeAxis destructor

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Thu, Sep 28, 2017 at 9:36 AM, Michael R Nelson wrote: > I'm hoping someone can give me a clue as to what this crash dump is > telling me. Problem started after moving to Qt 5.9.1 snapshot, on macOS > Sierra. > > In my source, I have a

Re: [Interest] strip: Customise Qt intaller, remove *.qt.io

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Sat, Sep 30, 2017 at 3:05 AM, Christian Gagneraud wrote: > Hi, > > PART1: > > Thanks everyone for you answers, after digging into the qtsdk.git > repo, i think i might be better staying away from the custom online > installer... > It'

Re: [Interest] Only 9 QML components can be created partially?

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Sun, Oct 1, 2017 at 4:16 AM, Richard Weickelt wrote: > Hi, > > the following example fails after 9 loop iterations: > > #include > #include > > int main(int argc, char *argv[]) > { > QCoreApplication app(argc, argv); > QQmlE

Re: [Interest] What's the configure switch to have xcb working when deploying Qt apps?

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Sun, Oct 1, 2017 at 12:04 PM, Thiago Macieira wrote: > On Sunday, 1 October 2017 07:09:18 PDT Nikos Chantziaras wrote: > > > The plugin is listed, but couldn't be loaded. Run ldd on the plugin and > > > you'll see what libraries are m

Re: [Interest] Clarification or Update required on Qt Blog to install QT on Tinkerboard.

2017-11-03 Thread Jonathan Greig
Jonathan P. Greig aka redteam316 RIP 6/13/1984 - 2/7/2016 On Mon, Oct 2, 2017 at 4:27 AM, Ben W via Interest wrote: > Hi, > I like many others are trying build qt for asus tinker board according to > this qt blog post: > https://blog.qt.io/blog/2017/05/03/qt-git-tinkerboard-wayland/ > > I have

Re: [Interest] No emails since May 5

2014-05-13 Thread Jonathan Greig
I see Jason's original email in my gmail spam box too. Jason, are all of the mailing list ending up in your spam box? If not, the mailing list may not be sending them to you for a reason related to what Tomasz mentioned. On Tue, May 13, 2014 at 7:05 AM, Tomasz Olszak wrote: > 2014-05-13 9:46 GM

Re: [Interest] Is there a way to figure out QGraphicsSceneEvent's sender?

2014-04-23 Thread Jonathan Greig
Whats wrong with using QGraphicsSceneEvent::widget() ? On Wed, Apr 23, 2014 at 3:48 AM, Dmitrii Volosnykh < dmitrii.volosn...@gmail.com> wrote: > See subject. I mean something similar to QObject's sender() method. > > Regards. > > ___ > Interest mailin

Re: [Interest] hide system cursor in system wide

2014-04-20 Thread Jonathan Greig
No, it won't. On Apr 20, 2014 12:58 AM, wrote: > I’m not sure, but... Try to use QApplication::setOverrideCursor(). > > May be it will hide cursor in system wide... > > *From:* iMath <2281570...@qq.com> > *Sent:* Sunday, April 20, 2014 7:21 AM > *To:* interest ; pyside ; > pyqt > *Subject:*

Re: [Interest] Qt5 Cross Compiling on Linux For Windows

2014-03-06 Thread Jonathan Greig
Thanks Mark, I sent an email to the MXE list. On Thu, Mar 6, 2014 at 7:26 PM, Mark Brand wrote: > > On 03/07/2014 12:40 AM, Jonathan Greig wrote: > >> I've used MXE several times in the past even before it was called MXE. I >> must have really bad luck, because any

Re: [Interest] Qt5 Cross Compiling on Linux For Windows

2014-03-06 Thread Jonathan Greig
han On Thu, Mar 6, 2014 at 4:14 PM, Mark Brand wrote: > > On 03/06/2014 10:40 PM, Jonathan Greig wrote: > >> Is there a recommended or proper way for cross-compiling on Linux for >> Windows in Qt5 that doesn't involve building Qt5 from source? The >> unsupported/

[Interest] Qt5 Cross Compiling on Linux For Windows

2014-03-06 Thread Jonathan Greig
Is there a recommended or proper way for cross-compiling on Linux for Windows in Qt5 that doesn't involve building Qt5 from source? The unsupported/win32-g++-cross mkspec is now removed in Qt5 and I'd like to setup a cross compiler under Travis-CI. Jonathan

Re: [Interest] QIcon/QFile file extension matching

2014-03-03 Thread Jonathan Greig
Loading pixmaps into QIcon without an extension worked gloriously in Qt4.6 and in Qt4.7 it changed and required that you supply the extension. I have no idea why it was changed but it definitely changed between those two versions. On Tue, Mar 4, 2014 at 12:41 AM, Damian Ivanov wrote: > Hi all, >

Re: [Interest] pyotherside is Awesome

2014-02-19 Thread Jonathan Greig
Error: expected 'peanut butter' before jelly. On Feb 19, 2014 8:40 PM, "Jason H" wrote: > It would be cool if you could do: > > Python { > id: pythonOsPath > code: `import os > print (os.path)` > } > > Text { > text: pythonOsPath.exec() > } > Note the back-ticks, which allow multiline, non-substi

Re: [Interest] Generating unique string

2014-02-14 Thread Jonathan Greig
Igor, You might want to look at QCryptographicHash and then truncate or concatenate to N chars. Either that or QDateTime using the epoch. Your solution depends on how you are defining unique. Either way should be fairly simple. On Sat, Feb 15, 2014 at 1:49 AM, wrote: > Hi. > > Does Qt have so

Re: [Interest] White background of QLabel

2014-02-12 Thread Jonathan Greig
Igor, Try using a styleSheet. I use this for QLineEdit but just tweaked it to show you how to do it with a QLabel so it's untested. Some of the options may not be used by QLabel so check the Qt docs to verify. QString style = "QLabel{ color:#00; background-color:#FF; selection-color:#F

Re: [Interest] Shiping Qt binaries

2014-01-24 Thread Jonathan Greig
Igor, I'm not sure and I'm on a linux box at the moment. Try copying the entire platforms directory that Qt provides to your platforms directory and then try it. Other than that make sure the ICU and GL files are there also like the link mentions. You can go back later and systematically remove any

Re: [Interest] Shiping Qt binaries

2014-01-24 Thread Jonathan Greig
Igor, >From what I understand, you need to create another directory in the same directory as your executable called platforms and put the qwindows.dll there, otherwise it won't work. I felt this was a little clunky when switching from Qt4 to Qt5. I think I read somewhere that there is a way to chan

Re: [Interest] QColor::lighter()

2014-01-15 Thread Jonathan Greig
Igor, Paul is correct. In the case of black or similarly dark colors, I would suggest making a function that identifies how dark your color is beforehand(such as checking if all 3 RGB values fall beneath a threshold considering RGB(1,1,1) etc... are still hard to see visually ) and then increasing

Re: [Interest] How do i get the Qt::Key values from QKeySequence?

2014-01-01 Thread Jonathan Greig
Whats wrong with using QKeySequence::toString stored in a QHash? Then make a function that breaks them apart or combines them depending on if you are storing them or looking them up? On Wed, Jan 1, 2014 at 1:01 PM, Mark Gaiser wrote: > Hi, > > I'm using QKeySequence [1] and am trying to extend

Re: [Interest] Qt5/Android examples on the Play store?

2013-12-31 Thread Jonathan Greig
Here is the search list of android apps that use Qt5: https://play.google.com/store/search?q=Qt5&c=apps ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] How to make a QAbstractViewer never display vertical scrollbar but expand its height?

2013-11-28 Thread Jonathan Greig
You might be able to do that with a QListView (using the protected method QListView::contentSize()). Otherwise I'm interested in the answer; I tried to do exactly the same (multiple views in a scrollable container) a while ago and finally gave up. 2013/11/28 Jonathan Greig > &g

Re: [Interest] How to make a QAbstractViewer never display vertical scrollbar but expand its height?

2013-11-28 Thread Jonathan Greig
Is this what you are needing? QAbstractScrollArea:: setVerticalScrollBarPolicy( Qt:: ScrollBarAlwaysOff ) - Swyped from my droid. On Nov 28, 2013 6:40 AM, "Philipp Kursawe" wrote: Is there a way to change the behaviour of a view to expand its height instead of displaying a toolbar to make all

Re: [Interest] Looking for third party Qt libraries

2013-10-07 Thread Jonathan Greig
s like qtuiotouch https://github.com/dancasimiro/qtuiotouch is > > missing as well. > > > > Thanks for this archive, I think we all know the frustrating feeling > > when it comes to this sort of things. > > > > 2013/10/7 Jonathan Greig : > >> I didn't

Re: [Interest] Install both Qt5 and Qt4.7 at one Ubuntu

2013-10-07 Thread Jonathan Greig
ad.qt-project.org/archive/qt/4.7/ On Mon, Oct 7, 2013 at 8:08 AM, Николай Шатохин wrote: > qtchooser working, thanks. > > But there is only Qt4.8.1 in Ubuntu repos. Is it possible to install Qt4.7 > without building from source? > > > 2013/10/7 Jonathan Greig > >>

Re: [Interest] Install both Qt5 and Qt4.7 at one Ubuntu

2013-10-07 Thread Jonathan Greig
Do not worry about it removing the qt4-default or qt5-default. It will do that, just figure out which one you use more often and make that the default. When you want to build for qt4 or qt5 then just use the qtchooser. I'm using the qtchooser method on a Kubuntu 13.10 install and it hasn't broken y

Re: [Interest] Install both Qt5 and Qt4.7 at one Ubuntu

2013-10-07 Thread Jonathan Greig
they should play nicely, look for qtchooser and use it to switch between the two: qtchooser -run-tool=qmake -qt=qt5 make On Mon, Oct 7, 2013 at 5:06 AM, Mandeep Sandhu wrote: > I think both Qt4 and 5 are there in the Ubuntu apt repos. Though I'm not > sure if they'll play nice if _both_ are i

Re: [Interest] Looking for third party Qt libraries

2013-10-07 Thread Jonathan Greig
I didn't see Qtuio listed: http://qtuio.sirbabyface.net/ On Mon, Oct 7, 2013 at 4:43 AM, Cornelius Schumacher wrote: > We all know that Qt is great, but we also know that it can't possibly cover > all use cases. Fortunately there are plenty of third party libraries based > on > Qt, which fill a

Re: [Interest] Advantage of Qt5 over Qt4 for C++/Widgets

2013-09-13 Thread Jonathan Greig
I haven't seen any major differences in my use of QtScript going from Qt4 to Qt5. It has decent performance. If you are considering Konstantin's suggestion to use a faster scripting language, you should look into using Pawn ( http://www.compuphase.com/pawn/pawn.htm ), which is a subset of C. From

Re: [Interest] Another interesting problem I found on SO...

2013-08-31 Thread Jonathan Greig
Could possibly be a bug in the graphics driver...I bet if he watched Highlander with subtitles the answer would come easily. - Swyped from my droid. On Aug 31, 2013 6:22 AM, "Guido Seifert" wrote: http://stackoverflow.com/questions/18533343/colored-dots-on-using-text-element-in-qt5 This looks

Re: [Interest] Converting std::string.c_str() code to use QString methods

2013-08-31 Thread Jonathan Greig
I'm also interested in why fopen shouldn't be used on Windows. The libembroidery code I work with is C89, uses fopen all over the place, and is cross-platform. The only place it doesn't work that I have tried is on arduino(which appears to have fdevopen equivalent but I'm unsure of whether that is

Re: [Interest] Strange question on Stackoverflow.... QApplication in QThread

2013-08-13 Thread Jonathan Greig
There were at least 3 movies. That is hilarious though. - Swyped from my droid. On Aug 13, 2013 11:34 PM, "Joseph W Joshua" wrote: > [1] "There can be only one!". You remember the movies, don't you? > -- I remember the only one. ___ Interest mailin

Re: [Interest] Semi-OT: Smart phone for programming

2013-08-04 Thread Jonathan Greig
Take a look at the Ubuntu Edge. It should work extremely well with Qt. http://www.indiegogo.com/projects/ubuntu-edge - Swyped from my droid. On Aug 4, 2013 2:27 PM, "Preet" wrote: I've played around with Qt on both BlackBerry and Android devices. In my opinion, BB is much easier to work with in

[Interest] QUndoView Icons

2013-07-25 Thread Jonathan Greig
Is it possible to set icons other than the "clean" icon? I would like to do this but it doesn't appear that there is an easy way. - Swyped from my droid. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/inter

Re: [Interest] valgrind

2013-07-09 Thread Jonathan Greig
ppressed: 0 bytes in 0 blocks On Mon, Jul 8, 2013 at 3:42 PM, Thiago Macieira wrote: > On segunda-feira, 8 de julho de 2013 10.55.02, Jonathan Greig wrote: > > ==25878== LEAK SUMMARY: > > > ==25878== definitely lost: 40 bytes in 1 blocks > > > ==25878== indirectly los

Re: [Interest] valgrind

2013-07-07 Thread Jonathan Greig
Alex, Supposedly QtCreator uses one internally or something but I haven't been able to locate it. I asked about this awhile back and thats the general consensus. I'm pretty sure that what you are looking for is what I have here: http://sourceforge.net/p/embroidermodder/code/178/tree/valgrind-supp/

Re: [Interest] hover events on graphics scene

2013-06-24 Thread Jonathan Greig
Ruth, Have you tried using an event filter rather than reimplementing the functions? I almost always prefer that route when dealing with the protected functions. Otherwise, you need to handle passing the event to the children yourself in your reimplemented hover function. - Swyped from my droid.

Re: [Interest] Container members in abstract base class?

2013-05-23 Thread Jonathan Greig
Haha, yes it is, I was reading it as if it was italicized like the rest of the docs. - Swyped from my droid. On May 23, 2013 2:02 PM, "Constantin Makshin" wrote: Another place to find that information is the documentation on QGraphicsItem::type(). :-) On May 23, 2013 10:57 PM,

Re: [Interest] Container members in abstract base class?

2013-05-23 Thread Jonathan Greig
I have implemented the type() method for all of my derived classes so that qgraphicsitem_cast would work. I just tested it out and apparently it will not work unless the value returned is an enum of the class. Returning an enum that isn't part of the class fails every time. I'm showing this here in

Re: [Interest] Container members in abstract base class?

2013-05-22 Thread Jonathan Greig
4, Thiago Macieira schreef: > On quarta-feira, 22 de maio de 2013 16.52.29, Jonathan Greig wrote: >> Thank you André. The dynami... You're overlooking our very own qobject_cast. That one works on QObject derived classes without requiring the use of RTTI in the compiler, and work ac

Re: [Interest] Container members in abstract base class?

2013-05-22 Thread Jonathan Greig
gh to see that the shortest route wasnt the best route. - Swyped from my droid. On May 22, 2013 2:38 PM, "Jonathan Greig" wrote: I was able to get static_cast to work also if I static casted the QGraphicsItem* to a DerivedObject* and then static casted the DerivedObject* to a BaseObject*

Re: [Interest] Container members in abstract base class?

2013-05-22 Thread Jonathan Greig
I was able to get static_cast to work also if I static casted the QGraphicsItem* to a DerivedObject* and then static casted the DerivedObject* to a BaseObject*. I'll probably just derive my BaseObject from QGraphicsPathItem since it has most of what I need and just use static_cast to avoid the RTTI

Re: [Interest] Container members in abstract base class?

2013-05-22 Thread Jonathan Greig
n May 22, 2013 9:21 AM, "André Somers" wrote: Op 22-5-2013 16:03, Jonathan Greig schreef: > BaseObject* base = (BaseObject*)item; > if(base) { base->setObjectRubberPoint(**key, point); } > The above looks suspicious. The cast you're doing here is u

Re: [Interest] Container members in abstract base class?

2013-05-22 Thread Jonathan Greig
I've attached the relevant files and a partial backtrace. - Swyped from my droid. On May 22, 2013 7:33 AM, "André Somers" wrote: Op 22-5-2013 14:25, Jonathan Greig schreef: > > I have an abstract base class that contains a private QHash member. > There is a public f

[Interest] Container members in abstract base class?

2013-05-22 Thread Jonathan Greig
I have an abstract base class that contains a private QHash member. There is a public function that sets the key/value in the QHash. When calling the function through a base class pointer, it segfaults when it comes to the line that sets the key/value. When calling the function through a derived cl

Re: [Interest] OSG with Qt

2013-05-05 Thread Jonathan Greig
Forgot to cc mailing list On May 5, 2013 10:23 PM, "Jonathan Greig" wrote: Yes, see the osgviewerQt example : http://trac.openscenegraph.org/projects/osg/wiki/Support/UserGuides/Examples > > On May 5, 2013 8:51 PM, "Sujan Dasmahapatra&q

Re: [Interest] PQ Labs and Qt

2012-08-29 Thread Jonathan Greig
Have you looked at Qtuio? http://qtuio.sirbabyface.net/ I've been thinking about going with a PQ Labs overlay, but linux support is very important to me. I think they have improved their linux support a little but can't get any real solid info on it either and haven't decided whether to get one ye

Re: [Interest] Programming strategy for old-school, 2-d video game?

2012-08-17 Thread Jonathan Greig
If you do not need a native GUI, then SDL is a very good way to go. Some things are easier with Qt and some with SDL. For one of my current projects, I'm using QGraphicsView/Scene with OpenGL acceleration and only using SDL for joystick/gamepad & haptic/rumble support. - Swyped from my droid. On

Re: [Interest] HTML5 canvas support?

2012-06-24 Thread Jonathan Greig
Jason, I think it's cool. I would have been nice if you had at least included the private files needed, but I hunted them down and got it working;) I'm trying to build Qt remotely on a web server so I can try to use it for CGI scripts so maybe your concept will come in handy. I'm not very familiar

Re: [Interest] Looking for help or for a QT developer

2012-04-28 Thread Jonathan Greig
You can only use QPixmap from the main (GUI) thread. Look at this for more info: http://lists.trolltech.com/qt-interest/2008-11/msg00534.html I'm mentally parsing your code from my phone, but it looks like you should use an intermediate struct or QByteArray when you need to mess with the pixmap d

Re: [Interest] Qt is good because...

2012-03-26 Thread Jonathan Greig
I think the lighthouse portion would be a really good point to list for porters. As far as comparison, Qt is far better at advanced gui stuff like dock widgets and floating toolbars than wxwidgets. This may have changed since then but compared to wx2.6/2.8 I found Qt to be superior in that aspect.