tton count.
--
Best Regards,
Andrei
From: Interest on behalf of Mitch Curtis
Sent: Tuesday, May 11, 2021 11:09 AM
To: nus1998 ; interest@qt-project.org
Subject: Re: [Interest] Material controls memory usage
Hi.
> -Original Message-
> From: Interest On Behalf Of nus1998
>
Hi All,
I made a simple comparison that it looks material controls cost 70 times
memory as normal quick controls, is it expected?
my OS is win10 x64, with Qt 5.15.2 mingw64, here are the results:
|
button count
|
normal button memory usage(MB)
|
material button memory usage (MB)
|
|
100
|
Hi All,
I'm running a i.MX6Q sabresd board from NXP, and the Qt version is 13.2.
When I play video by "qmlvideo" in example, the display is smooth, while use
"player" in qtmultimediawidget example, it's very slow.
If I specify the video sink by export
QT_GSTREAMER_WIDGET_VIDEOSINK=imxv4l2sin
Hi All,
I'm running Qt 5.13.2 with xwayland backend on embedded linux system. there is
a issue that the butons on title bar like close/maximum, are too small to click
by finger. I tried QT_WAYLAND_FORCE_DPI but which only affects the client area
but not the title bar. I also tried "scale" in w
Hi All,
It's very likely as QTBUG-73084 that Kernel complains non-freed memory when
video playback ends. however, on current yocto release, there is no
gstimxcommon ( I guess the replacement is gstreamer-fsl ) so the patch doesn't
work on current yocto release (imx-linux-zeus 5.4.3_2.0.0, qt 5
Hi,
I have a piece of code like this:
namespace FOO_NS {
class FOO_CLASS : public QObject
{
Q_OBJECT
public:
enum FOO_EM { EM_A, EM_B };
signals:
void trigger(FOO_EM foo);
}
}
the signals doesn't work obviously as enum doesn't be registered. if I add
Q_ENUM(FOO_EM) after the enum de
: take care, Samsung device (yet again) have a different path form all
>other devices.
>
>-Original Message-
>From: Alex Blasche
>Sent: November 1, 2018 11:11 AM
>To: Jérôme Godbout ; nus1998
>Cc: interest@qt-project.org
>Subject: Re: [Interest] QLowEnergyContr
d BLE usage by other application. iOS and OS X on
the other hand seem t work just fine, they do not need the artificial delay, so
it’s a delay festival with ifdef.
Jerome
From: Interest On Behalf
Of nus1998
Sent: October 30, 2018 4:42 AM
To:interest@qt-project.org
Subject: [Inte
Hi,
When I use QLowEnergyController to scan the service, it's always disconnected
about 15 seconds after services discovery is finished. the error is not
certain, sometimes it's "Connection reset by peer", sometimes it's "Connection
timeout".
The log is attached, can anyone have a look at it a
Hi All,
Sorry there are something wrong in my email client, so I repost it:
I'm testing on a dialog with a touch screen, for mouse event, sometimes there
is only "pressed" event, or only "released" and "clicked" events. but when
checking the touch event, each timeTouchBegin and TouchEnd event
Hi All,
I'm running a Qt dialog which handles pressed/released/clicked events, when I
press the touch screen and release immediatelly, sometimes there is only a
pressed event, or only released and clicked events. however, if I handle the
touch events by setting Qt::WA_AcceptTouchEvents, every
Hi All,
I'm testing on a dialog with a touch screen, for mouse event, sometimes there
is only "pressed" event, or only "released" and "clicked" events. but when
checking the touch event, each timeTouchBegin and TouchEnd events are received.
I have tried set Qt::AA_SynthesizeMouseForUnhandledTou
Hi All,
I want to set line height for QPlainTextEdit, here is my code, but it doesn't
work, the line height is always same as the font height.
btw: If I change QPlainTextEdit to QTextEdit, then it works.
my env: Qt 5.6.2 mingw version, Win 10 64 bit
#include"dialog.h"
#include"ui_dialog.h"
Dia
It's weired that the same code on another pc (same qt version, but win10x64
professional) works fine. as the widget recevied these keys, so it seems
impossible that it's due to some global hot-keys.
At 2018-05-04 08:55:09, "nus1998" wrote:
Hi All,
I have some questi
Hi All,
I have some questions on keyPressEvent on sub-class of QPlainTextEdit, for the
code attached below.
If I press '(', '{', or '[', these keys will be displayed in the edit. qDebug
outputs 16777248 (value of Shift) for '(' and '{', and outputs nothing for
'['.
if I press any other key, t
+= $$QT_CFLAGS_GLIB
LIBS_PRIVATE +=$$QT_LIBS_GLIB
}
At 2017-09-20 23:50:58, "Konstantin Tokarev" wrote:
>
>
>20.09.2017, 18:48, "Thiago Macieira" :
>> On quarta-feira, 20 de setembro de 2017 01:59:27 PDT nus1998 wrote:
>>> I wonder is there a way to us
Hi All,
I exported PKG_CONFIG_LIBDIR(/sysroot/lib/pkgconfig:/sysroot/usr/lib/pkgconfig)
and PKG_CONFIG_SYSROOT_DIR(/sysroot) respectively, and configure with
"-sysroot /sysroot -pkg-config", many features test like "Using C++ standard"
failed.
I think it's due to compiler files missing in /sys
OK, I have solved it, on my target, the default hintingPreference is
PreferNoHinting, change it to PreferFullHinting leading to consistent result.
At 2017-03-13 17:18:40, "nus1998" wrote:
Hi All,
Recently I compiled qt 5.6.2 for an embedded system, I found the the text
rendering is
Hi, All,
I have searched on Internet but not found a solution.
my question is that I insert a combobox in table view by QItemDelegate, but the
column size is too small for it. I found sizeHint function of QItemDelegate
which can adjust the size, but how can I get the very size of widget but not
Hi All,
My camera resolution is 2048 * 1536, now I want to display the center 1000 *
1000 pixels on a 500 * 500 widget, so far I only found setGeometry to crop the
image but can't scale it, is there any item for that?
thanks in advance
Jie
___
Intere
Hi All,
I have a database and the parameter in it is integer type. when I created a new
row in the table view (QTableView) and clicked the cell, a spinbox was
displayed, but after I saved the table and clicked the cell again, it became to
line editor and any characters are accepted.
Any tips I
Thanks for both of your reply. I have compiled Qt 5.3.2 for linuxfb with mtdev
enabled. however, in my application, the touch event is not reported, instead,
the mouse event is received when I press a capacitive touch. the plugin I used
is evdevtouch, anything to be setup for it?
Best regards
J
If I change "PKGCONFIG_PRIVATE += mtdev" in
qtbase/config.tests/unix/mtdev/mtdev.pro to "unix:LIBS += -lmtdev", then mtdev
will be "yes", however, I don't know is it safe for this modification.
Best regards,
Jie
在 2015-02-02 17:45:16,"nus1998&quo
Agocs Laszlo" 写道:
Hi,
You need the libmtdev headers and libraries present in the sysroot, not in your
host environment.
What device are you cross-compiling for?
Best regards,
Laszlo
From: interest-bounces+laszlo.agocs=theqtcompany@qt-project.org
on behalf of
nus
Hi All,
I'm now compiling Qt 5.3.2, I have added the option "-mtdev" on configure, and
there is no error encountered in the configure process. however, I found "mtdev
.. no" in the configure.summary after configure process is
complete, which means "mtdev" is not enabled?
my hos
Hi All, I have some code like followed:
doubled=9.02;
d/=0.02;
inti=static_cast(d);
qDebug()<___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Hi All,
I can get the HWND of a running application by win API FindWindow, and can I
add a widget as its child to it in some way? or because there are so much
difference that the parent can't produce a such child?
B.R.
___
Interest mailing list
Intere
Thanks, it works
At 2014-09-25 10:20:04, "Thiago Macieira" wrote:
>On Wednesday 24 September 2014 19:19:13 Thiago Macieira wrote:
>> On Thursday 25 September 2014 09:37:49 nus1998 wrote:
>> > Hi All,
>> >
>> > I met a issue when use the new connect
Hi All,
I met a issue when use the new connecting method, in my code:
connect(m_process,&QProcess::finished,this,&Dialog::done);
which will cause a error as follow:
error: no matching function for call to 'Dialog::connect(QProcess*&,
, Dialog* const, void (Dialog::*)())'
connect(m_process, &
Finally I found in qttools/src/designer/src/src.pro that designer are excluded
in compiling, after commented these commands, I can build the designer just in
the qttools/src/designer directory
B.R.
Jie
At 2014-01-24 10:30:37,nus1998 wrote:
hi Joerg,
Although I built the whole module under
hi Joerg,
Although I built the whole module under qttools directory, libQt5Designer.so is
missing yet
B.R.
Jie
At 2014-01-17 20:54:38,"Joerg Bornemann" wrote:
>On 17.01.2014 07:46, nus1998 wrote:
>
>> when I use qt5.0.2, I use commands:
>> /../qtbase/bin/qmake
&g
Hi All,
when I use qt5.0.2, I use commands:
../qtbase/bin/qmake
make
make install
in directory qttools\src\designer, I can find the libQt5Designer.so in
qttools\lib, however, for qt 5.2.0, I can only find libQt5Designer.la which is
a text file, and all the "so" files are missing.
any tips?
tha
Hi All,
I create a transparent viewer using QQuickView, if I don't set the flag
"Qt::FramelessWindowHint", everything goes fine, when I set it, there is only a
icon on taskbar and no viewer is visible, and I can't active it too.
env: Qt5.2 beta mingw version (5.1 doesn't work too), Win 7 64-bi
eadyRead signal and do not use
the waitForXXX() methods!
Best regards,
Denis
16.10.2013, 12:24, "nus1998" :
Hi, the simple code is followed, I use wizard to generate qt gui application in
widget method
for "#if 1", the message is "port open, A, A, done", for &q
d even when I
> use "connect(m_serial, SIGNAL(readyRead()), this, SLOT(serialRead())); "
mostly the serialRead slot can read nothing too..
Seems, you do something wrong.
>Can't read data:
>waitForReadyRead(1000);
>read(data, 1);
Same...
Please provide the
sources.
Best regards,
Denis
16.10.2013, 07:51, "nus1998" :
I write a workaround function as below which now works although the actual
timeout doesn't match with "TIMEOUT" since sometimes "waitForReadyRead" will
return immediately without data available. I h
on Qt way) on the device using
>open/read system calls and check if data is actually available.
>That'll make sure that the OS is indeed receiving data and the problem
>can then be isolated to QSerialPort.
>
>HTH,
>-mandeep
>
>On Wed, Oct 16, 2013 at 6:25 AM,
01:15:36,"Denis Shienkov" wrote:
Hi.
Seems it is a bug, see: https://bugreports.qt-project.org/browse/QTBUG-33987
You can test this patch.
Besd regards,
Denis
15.10.2013 18:37, nus1998 пишет:
I found a strange issue, when I read from serial, first I will call
"waitForReadyRead&
I found a strange issue, when I read from serial, first I will call
"waitForReadyRead", it returns with true in specified time, however, when I
call "read" function thereafter, I can't read even a byte. the hardware works
fine since I checked it by logic analyzer.
env: win7 64, qt 5.1 mingw v
hi all,
I wrote a custom plugin which has a property for a set of colors like this:
Q_PROPERTY(QVector color READ color WRITE setColor)
however, I can't found the color property in designer.
I checked the help file, it seems the correct method is use QVector instead of
QVector, but in this me
Hi all,
I built a custom widget on PC and now I want to compile it for arm.
I cross compiled the designer use arm gcc and installed it by make install.
however, there is a error "unknown module(s) in QT: designer" when I compile
the plugin use arm gcc.
I have checked and libQt5Designer are
41 matches
Mail list logo