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!
--
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?
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:
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?
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
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
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
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
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...
&
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
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?
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
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
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.
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
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:
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.
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
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,
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
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
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
+++
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
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
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
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?
___
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
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
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
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
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
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
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
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
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
(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
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
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
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:
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
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
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
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
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
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.
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,
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
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
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?
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
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,
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
52 matches
Mail list logo