[Interest] how to set axis titles of QML Scatter3D graph?

2019-10-18 Thread Alan Ezust
Data visualization QML question: The qmlscatter example does not show how to put titles for the axes of a graph. I thought it would be a matter of setting axisX.title="the title of the axis" but Scatter3D.axisX has no members. I'm using Qt 5.12. Thanks! --

[Interest] QtCreator on kubuntu says: "No qmlscene installed"

2018-07-09 Thread Alan Ezust
I just installed Qt Creator 4.5.2 from kubuntu apt sources. It installed qmlscene + qt development files at the same time. I can see clearly there is a qmlscene executable right next to qmake in the same directory: /usr/lib/qt5/bin How do I get rid of the "no qmlscene installed" warning?

Re: [Interest] create delegate modelData

2016-07-18 Thread Alan Ezust
modelData is indeed a special reserved data role for use inside delegates with certain kinds of models, including C++ objectlists and also stringlistmodel. I can't find any documentation that explains exactly what 'modelData' is or where it is "reserved". However, modelData mentioned here:

[Interest] qtcreator, find scope, and git grep

2016-07-07 Thread Alan Ezust
Playing around with QtCreator 4.0.3, and I noticed I can choose to use "git grep" for searching through files if the "Scope:" is set to "Files in file system", which is nice. But why, if I set the "scope" to 'Project "MyProjectName"', does the "Use Git Grep" choice disappear from the form?

Re: [Interest] QUndoStack

2016-06-24 Thread Alan Ezust
There is another thread on this very subject from last week: http://lists.qt-project.org/pipermail/interest/2016-June/023114.html http://lists.qt-project.org/pipermail/interest/2016-June/023116.html I agree with you, the QUndoStack design is really odd and the need to execute commands while

Re: [Interest] Handling zooming in QtCharts

2016-06-21 Thread Alan Ezust
Because QChart is derived from QGraphicsView, you can also set the setTransformationAnchor() to QGraphicsView::AnchorUnderMouse and then scale() it. On Mon, Jun 20, 2016 at 10:00 PM, Lorne Sturtevant wrote: > I was able to find a way to zoom centred on the mouse. What I did

Re: [Interest] Gstreamer error while playing audio with Qt5.6 on ubuntu

2016-05-28 Thread Alan Ezust
I should qualify this: On Qt 5.5 (from kubuntu sources) the example media player can play mp3s without problems. But if I use the Qt installer with Qt 5.6, this is when I get the problem. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Gstreamer error while playing audio with Qt5.6 on ubuntu

2016-05-28 Thread Alan Ezust
Yes, but I already had that installed a while ago. It did fix the problem for me in the past, but not after my recent upgrade to Qt 5.6 and Ubuntu xenial. On Fri, May 27, 2016 at 10:59 PM, Jesse Jaara wrote: > I believe qt in ubuntu already uses gst 1.x series. So you

[Interest] Gstreamer error while playing audio with Qt5.6 on ubuntu

2016-05-27 Thread Alan Ezust
I followed those instructions but they don't work for Ubuntu Xenial. Same error message. What is the recommended way to play MP3s from Qt/Multimedia on Linux now? On Fri, May 27, 2016 at 6:00 PM, Alan Ezust <alan.ez...@gmail.com> wrote: > Nevermind. Stackoverflow has the solution... &

Re: [Interest] Gstreamer error while playing audio with Qt5.3

2016-05-27 Thread Alan Ezust
Nevermind. Stackoverflow has the solution... http://stackoverflow.com/questions/26099139/how-to-fix-gstreamer-error-in-qt5#31768647 On Fri, May 27, 2016 at 5:53 PM, Alan Ezust <alan.ez...@gmail.com> wrote: > I am getting the same problem in Qt 5.6 with the Qt3d Audio Visualizati

Re: [Interest] Gstreamer error while playing audio with Qt5.3

2016-05-27 Thread Alan Ezust
I am getting the same problem in Qt 5.6 with the Qt3d Audio Visualization demo. In the past, installing gstreamer-fluendo-mp3 fixed the problem. This time it did not. I am using Kubuntu xenial. Installing ubuntu-restricted-extras didn't fix it either. Does anyone know what is the missing plugin?

Re: [Interest] Process isolation with Qt - how to communicate with child processes

2016-01-04 Thread Alan Ezust
I would recommend using the QProcess class. It emits signals when you need to read data from it. On Mon, Jan 4, 2016 at 9:00 AM, Etienne Sandré-Chardonnal < etienne.san...@m4x.org> wrote: > Dear All, > > I have a server app which currently spawns threads for processing tasks > from incoming

Re: [Interest] OS X and XCode 7.0: 'TargetConditionals.h' file not found

2015-10-07 Thread Alan Ezust
Seems editing the clang_64/mkspecs/qdevice.pri will allow you to get around this without rebuilding Qt, you just have to do a clean rebuild also. http://stackoverflow.com/questions/25940368/qt5-target-conditionals-not-found/25962088#25962088 On Wed, Oct 7, 2015 at 8:37 AM, Sherif Ghali

[Interest] Building Qt 5.4 on Mac OSX 10.11: qcocoacursor.mm:84:20: error: no matching function for call to 'CGEventCreateMouseEvent'

2015-09-21 Thread Alan Ezust
Running into troubles building Qt 5.4 on MacOSX 10.11 with clang. First ran into an issue related to _Nullable which was fixed by https://codereview.qt-project.org/#/c/121545/ Then I had to specify the SDK version in configure because detection was not working properly.

Re: [Interest] MacOSx: Qt::KeypadModifier for arrow keys?

2015-09-21 Thread Alan Ezust
work from Java. On Sat, Sep 19, 2015 at 4:04 AM, Elvis Stansvik <elvst...@gmail.com> wrote: > Hi Alan, > > 2015-09-18 22:52 GMT+02:00 Alan Ezust <alan.ez...@gmail.com>: > > I am running a keyboard test program on the MacOS > > with Qt 5.4 on MacOSx 10.10.5, Cl

[Interest] MacOSx: Qt::KeypadModifier for arrow keys?

2015-09-18 Thread Alan Ezust
I am running a keyboard test program on the MacOS with Qt 5.4 on MacOSx 10.10.5, Clang. All it does is print out the modifiers and the keycodes when I type arrow keys. void Dialog::keyPressEvent(QKeyEvent *ke) { qDebug() << "event: " << ke->modifiers() << ke->key(); } event:

[Interest] ambiguous shortcuts in Qt Assistant on Kubuntu

2015-07-18 Thread Alan Ezust
Many of my favourite shortcuts in Assistant stopped working after a recent KDE upgrade. Now instead of Assistant doing what it is supposed to, I get popup dialogs like this: The key sequence 'Ctrl+F' is ambiguous. Use 'Configure Shortcuts' from the 'Settings' menu to solve the ambiguity.

[Interest] QGraphicsView: Moving items causes the viewport center to change

2015-02-17 Thread Alan Ezust
The default behavior in QGraphicsView, if you have 2 movable items in the scene, and you click and drag one of them, then the viewport is recentered in order to show both items without adding a scrollbar. But if you move the item far enough away from the first, then the scrollbars appear and this

Re: [Interest] QStandardPaths on mobile

2014-11-20 Thread Alan Ezust
I think QStorageInfo is what you use to find out about SD cards. On Thu, Nov 20, 2014 at 3:40 AM, Harri Pasanen ha...@mpaja.com wrote: The documentation at http://qt-project.org/doc/qt-5/qstandardpaths.html has nothing for iOS or Windows Phone. For iOS some support seems to be there though,

Re: [Interest] Threading Question

2014-10-10 Thread Alan Ezust
From what I understand, moveToThread() requires a parent-child relationship between the objects for the subtree to include them. If the QTimer was a subobject (data member) rather than a pointer to another heap object with the parent set, then the QTimer won't be moved to the other thread along

Re: [Interest] Event handling for QObjects created before QApplication

2014-10-06 Thread Alan Ezust
Done. https://codereview.qt-project.org/96416 On Sun, Oct 5, 2014 at 1:22 PM, Thiago Macieira thiago.macie...@intel.com wrote: On Sunday 05 October 2014 08:50:11 Alan Ezust wrote: Here are my suggested changes to the threads.qdoc. What do you think? [] Looks good, except

Re: [Interest] Event handling for QObjects created before QApplication

2014-10-05 Thread Alan Ezust
Here are my suggested changes to the threads.qdoc. What do you think? diff --git a/doc/src/frameworks-technologies/threads.qdoc b/doc/src/frameworks-technologies/threads.qdoc index 5e92425..b5136fe 100644 --- a/doc/src/frameworks-technologies/threads.qdoc +++

[Interest] Designer: how to preview QWebView with an example .html content?

2014-09-04 Thread Alan Ezust
First, I am coding in PyQt5, so I am using standalone designer instead of Qt Creator. I was thinking of posting this in PyQt5 but it seems to be more of a Qt/Designer issue rather than a PyQt issue. My problem: I want to create wireframes in designer. Some of them have a QWebView in the middle of

Re: [Interest] QPlugin and RTTI

2014-06-22 Thread Alan Ezust
If all of the classes are QObjects, then qobject_cast() should be used instead of dynamic_cast, which is not guaranteed to work across library boundaries. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] terrible font rendering with QtQuick

2014-06-03 Thread Alan Ezust
Why are you still using Qt 5.2.1? I know some serious font rendering issues from QML were fixed in Qt 5.3. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Piping data between QProcesses

2014-05-24 Thread Alan Ezust
You can connect one QProcess to another with a pipe this way: void QProcess::setStandardOutputProcess(QProcess * destination) You can also create one QDataStream from another QIODevice: QDataStream::QDataStream(QIODevice * d) Does that help? ___

Re: [Interest] Handle files with the same name by automoc

2014-05-05 Thread Alan Ezust
I know that a lot of QtTestLib examples use this hack where they #include filename.moc at the bottom of their filename.cpp files to fool moc into processing them in addition to the other h files. ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Qt 4.8 (and Qt 5 too?) really need a digested file of to-be-shown copyright, licensing information

2014-04-02 Thread Alan Ezust
On Tue, Apr 1, 2014 at 7:46 PM, Jonas Thiem jonasth...@googlemail.comwrote: Why is there no single text file with all required licensing information which I can simply slap into my About dialog? Or do I need to hire a lawyer first or manually check all licenses that may require me to display

Re: [Interest] QThread

2014-03-24 Thread Alan Ezust
If you're using Qt 5.2 or later, there is a new API you can use. Call isInterruptionRequested() in your loop, http://qt-project.org/doc/qt-5/qthread.html#isInterruptionRequested And call requestInterruption() from outside. http://qt-project.org/doc/qt-5/qthread.html#requestInterruption I

[Interest] question about the Window.data: property

2014-03-03 Thread Alan Ezust
I am confused about the Qt 5.2.1 API docs for the data property of Window. It says this: The data property allows you to freely mix visual children, resources and other Windows in a Window. If you assign another Window to the data list, the nested window will become transient for the outer

[Interest] I like the new table of contents in Qt Documentation.

2014-02-28 Thread Alan Ezust
I am navigating through the table of contents that is provided from the Help of Qt Creator for Qt 5.2.1. Each module has some very nice child nodes in the contents, that are clickable and go to the right place. I especially like the c++ types and QML types sub-nodes which are available for most of

Re: [Interest] Qt Maintenance Tool vs Online Installer

2014-02-17 Thread Alan Ezust
I just discovered something. The maintenance tool does show Qt 5.2.1 via the package manager, just not when you click scan for updates. So it is possible to install 5.2.1 right next to 5.2.0. You just use the Maintenance Tool package manager radio button to install Qt and then you don't need to

Re: [Interest] Qt5: single- vs double-click file/folder-open behaviour on KDE4/Linux

2014-02-16 Thread Alan Ezust
was with QtCreator, and I found this report ( https://bugreports.qt-project.org/browse/QTBUG-28745 ) which led to the bug report above. -- Yours sincerely, George Tasopoulos On 15 February 2014 06:46, Alan Ezust alan.ez...@gmail.com wrote: I just downloaded Qt 5.2.1 and QtCreator 3.0.1 from qt

[Interest] Qt Maintenance Tool vs Online Installer

2014-02-14 Thread Alan Ezust
I wanted to update from Qt 5.2.0 to Qt 5.2.1 on Linux. I ran MaintenanceTool and it spent about 3 minutes contacting the server before it told me it had to update itself. Then it did, it restarted, spent another 3 minutes looking for updates, and the told me I had one for QtCreator. But no update

Re: [Interest] Qt5: single- vs double-click file/folder-open behaviour on KDE4/Linux

2014-02-14 Thread Alan Ezust
with me too. But I found a bug report about it and since a certain version (I don't remember which) it seems to have been fixed, as it follows my KDE settings. Make sure you have the latest version. -- Yours sincerely, George Tasopoulos On 14 February 2014 16:53, Alan Ezust alan.ez

Re: [Interest] Using another Class's enum in your class

2014-02-13 Thread Alan Ezust
(crickets chirp) I was wondering if anyone was going to tackle this. It's a question I often asked. And in finding an answer, I looked at the Qt source code. Which may have been a bad idea. With the exception of the Qt namespace, that's what Qt does itself, using int instead of the enum from

Re: [Interest] Qt Multimedia - Record from Applications Output

2013-07-02 Thread Alan Ezust
In Qt5, you can record audio, with the Qt MultimediaKit library. This contains a few features that were never added to Qt4's multimedia but were available in Qt Mobility's MultimediaKit. You can see an example of recording audio in the examples/multimedia/spectrum and

Re: [Interest] Qt Multimedia - Record from Applications Output

2013-07-02 Thread Alan Ezust
Oops. you need pulseaudio for this to work on linux. On Tue, Jul 2, 2013 at 8:18 AM, Alan Ezust alan.ez...@gmail.com wrote: In Qt5, you can record audio, with the Qt MultimediaKit library. This contains a few features that were never added to Qt4's multimedia but were available in Qt

Re: [Interest] Redirect stdout to a file

2013-07-02 Thread Alan Ezust
On linux, you invoke an external command from QProcess that looks like bash -c command arg1 arg2 outFile.txt and on windows you can do cmd /c command arg1 arg2 outFile.txt and you can run this detached. On Tue, Jul 2, 2013 at 12:10 PM, Scott Aron Bloom scott.bl...@onshorecs.com wrote:

Re: [Interest] QIcons and multithreading

2013-04-04 Thread Alan Ezust
chapter on thread safety and QObjects http://www.ics.com/designpatterns - login or register first then go to: http://www.ics.com/files/designpatterns/book/threadsafety.html On Thu, Apr 4, 2013 at 6:06 AM, Sensei sense...@gmail.com wrote: On 4/3/13 4:14 PM, Alan Ezust wrote: no. You can't

Re: [Interest] QIcons and multithreading

2013-04-03 Thread Alan Ezust
On Wed, Apr 3, 2013 at 3:44 AM, Sensei sense...@gmail.com wrote: Dear all, I am using multiple threads in my application, and now I am wondering if I am doing something bad. My application has a 'worker' thread that builds a tree with QTreeWidgetItems, setting QIcons for them. Reading

Re: [Interest] Why is this not working? Assign direct to QML (through setContextProperty) works, as function doesn't.

2012-11-08 Thread Alan Ezust
On Thu, Nov 8, 2012 at 1:19 PM, Mark mark...@gmail.com wrote: Note: i cannot do qRegisterMetaType on the PathModel since it's class that inherits from a class that forbids copying the data (copy constructor stuff). qmlRegisterType can register classes derived from QObject. Although you're

Re: [Interest] Why we have to remove Qt3D in Qt5.0 release?

2012-10-31 Thread Alan Ezust
If QtWebkit requires qtlocation and qt3d, then does this mean webkit will also no longer be included with Qt5? On Mon, Oct 29, 2012 at 8:20 PM, Loaden loa...@gmail.com wrote: See: https://codereview.qt-project.org/#change,38442 And: https://bugreports.qt-project.org/browse/QTBUG-27736 The

Re: [Interest] Heavily Commented Example: Simple Single Frontend with Two Backends

2012-10-24 Thread Alan Ezust
On Wed, Oct 24, 2012 at 1:08 AM, d3fault d3faultdot...@gmail.com wrote: On 10/23/12, Alan Ezust alan.ez...@gmail.com wrote: http://www.ics.com/designpatterns is one place where you can see the book's contents and download the code examples. It requires you to register/login but it's

Re: [Interest] Heavily Commented Example: Simple Single Frontend with Two Backends

2012-10-23 Thread Alan Ezust
Comment from one of the files in that .zip file: When we call this-setLayout(m_Layout), 'this' becomes the parent of m_Layout and all child objects (everything we add to the layout becomes a child of m_Layout), and deletes it (and all children) for us when 'this' is destroyed Not exactly true.

Re: [Interest] Heavily Commented Example: Simple Single Frontend with Two Backends

2012-10-23 Thread Alan Ezust
Actually, it's not as simple as I stated. Basically, adding a widget to a layout makes it the child of the widget that it is a layout for. So if you add a widget to a sub-layout, it actually won't be the sibling of that layout object, but an uncle or something. On Tue, Oct 23, 2012 at 1:28 PM,

Re: [Interest] Heavily Commented Example: Simple Single Frontend with Two Backends

2012-10-23 Thread Alan Ezust
On Tue, Oct 23, 2012 at 6:51 PM, d3fault d3faultdot...@gmail.com wrote: Regarding rewriting the example, I think the best way to rewrite it is to remove all usage of QThread entirely, and see if you can figure out how to program it using the higher-level QtConcurrent API. In my book

Re: [Interest] Qt5 - my hopes for when the dust settles...

2012-08-18 Thread Alan Ezust
On Thu, Aug 16, 2012 at 2:54 AM, Mark Summerfield l...@qtrac.plus.com wrote: Hi, I hope that Digia proves to be a good steward of Qt---for Qt/Desktop users as well as for Qt/Mobile users! Here are some of the things I'd like to see in a future Qt.* - A full C++ API for all the things that

Re: [Interest] what happened to qtcreator's run qmake command?

2012-01-19 Thread Alan Ezust
I used to have it there too. But now it's gone :-( On Wed, Jan 18, 2012 at 9:56 AM, Karl Ruetz karl.ru...@ruetzdogz.comwrote: I have it under the Build menu; 4th item from the bottom. Karl I am using qt creator 2.4 on windows and i can't find the run qmake command anymore. where did it go?

Re: [Interest] what happened to qtcreator's run qmake command?

2012-01-19 Thread Alan Ezust
It came back after I rebooted the system! I don't understand it. Sometimes it disappears for reasons unknown to me. Lately while building for Symbian. On Thu, Jan 19, 2012 at 9:55 AM, Jason H scorp...@yahoo.com wrote: No, it's there. It's probably because you don't have a .pro file or

Re: [Interest] qt-everywhere-opensource-src-4.8.0 build errors?

2012-01-19 Thread Alan Ezust
The key line is this one: cc1plus: warnings being treated as errors If you edit the file WebKit.pri and comment the line # !CONFIG(standalone_package):isEqual(QT_ARCH,x86_64)|isEqual(QT_ARCH,i386): QMAKE_CXXFLAGS += -Werror And rebuild, that should make the problem go away. On Thu, Jan 19,

[Interest] what happened to qtcreator's run qmake command?

2012-01-18 Thread Alan Ezust
I am using qt creator 2.4 on windows and i can't find the run qmake command anymore. where did it go? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest