On Wed, Apr 04, 2018 at 05:10:07AM +, Vadim Peretokin wrote:
> How can I programatically make a tab's text bold? I'm looking to notify the
> user that they need to look at it.
>
> Note that this is different from using a stylesheet to set the selected tab
> bold - I'd like to set any random ta
Moving to Samsung (OpenCL 1.1), I get:
When linking...
error: undefined reference to 'clCreateFromGLTexture2D'
error: undefined reference to 'clCreateFromGLTexture2D'
error: undefined reference to 'clEnqueueAcquireGLObjects'
error: undefined reference to 'clEnqueueReleaseGLObjects'
collect2: erro
No joy :-( I think this is only a problem with Google Phones though. The original Pixel had this problem too (according to the internet) Why Google!?
I wrote a script to pull & inspect :
$ ./inspect_wrapper cl
/system/lib/libGLESv1_CM.so
U __aeabi_memclr
/system/lib/libGLESv3.so
I don't have a Pixel myself, but have you checked that OpenCL isn't rolled
up into */vendor/lib/egl/libEGL_adreno.so*. I know that is the case for
some phones with Mali chipsets at least. Here's a list of *cl* symbols from
one I pulled from a Samsung Galaxy S7:
$
~/Code/Android/android-ndk-r10e/to
I should find it there yes. But the irony is that I can't find it anywhere. Meanwhile the Samsung has it where you would expect. I'm looking for an OpenGL for it, but the Adreno SDK doesn't have it. Any idea where I mght find it?
Many thanks.
taimen:/ $ find . -name *CL* 2> /dev/null
./s
You'll probably find it at */vendor/lib/libOpenCL.so.*
I'm not sure which version of OpenGL ES you need, but you have both
versions available to link against using the NDK at least.
I've been wanting to do a writeup on the whole QML videofilter -> OpenCL
pipeline through shared GL context, but ha
Thanks! I'm trying to do this on a Pixel 2 XL, but there is no libOpenCL.so on it! (directory listing included later)
I'm searching for it. I'm looking at the Aredno SDK,
I'm sort of at a loss for what all I need to include for android. You mention GLESv2, but you also mention v3.
ta
Easy! You can't! But you can come very close. Remember on a multitasking OS,
you're dealing with a time division multiplexing, and a scheduler, so getting
scheduled at 30hz is impossible. But there are a few things you can do.
On linux you (a process) can set your priority and even scheduling m
Thanks a ton! Works.
On Wed, Apr 4, 2018 at 12:07 PM Igor Mironchik
wrote:
>
> #include
> #include
> #include
> #include
> #include
> #include
>
> class Style : public QProxyStyle
> {
> public:
> Style( QTabBar * bar )
> :m_boldTab( 0 )
> ,m_bar( bar )
> {
>
#include
#include
#include
#include
#include
#include
class Style : public QProxyStyle
{
public:
Style( QTabBar * bar )
: m_boldTab( 0 )
, m_bar( bar )
{
}
~Style()
{
}
void drawControl( ControlElement element,
const QStyleOption
Alternatively suffix an asterisk; Tab -> Tab*. Then remove it on highlight.
/René
On Wed, 4 Apr 2018 at 09:47 Vadim Peretokin wrote:
> On Wed, Apr 4, 2018 at 7:35 AM Hamish Moffatt
> wrote:
>
>> On 04/04/18 15:10, Vadim Peretokin wrote:
>> > How can I programatically make a tab's text bold? I'
I never got that specific example to work, but assuming you're building
with the Android NDK, you can include:
#include
#include
Which will give you access to *eglGetCurrentContext()*.
I'm using the r10e ndk, since that's what works with Qt at the moment. GLES
v3 is available in toolchain v21:
OK, I figured this out. With the risk of kicking in open doors:
- the maintenancetool/MaintenanceTool binary is "just" the installerbase
executable.
On Mac it will be modified to depend on embedded Qt frameworks by the actually
installer when it writes the MaintenanceTool bundle, but it fails to
On 04/04/18 09:52, Daniel Engelke wrote:
What about QElapsedTimer you can get nanoseconds out of it.
Yeah, but it doesn't have signals to fire on a timeout...
QElapsedTimer's major purpose is measuring time, not sending (repeated)
signals. So it's more like QTime, not like QTimer.
Cheers, Ren
>
> one at 30 ms, and one at 31 ms
>
I meant 33 and 34 ms, but you get the idea.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
Hi,
Just an idea:
I believe by default QTimer doesn't have that fidelity, however you can
check if your platform supports Qt::PreciseTimer and stagger two of them,
one at 30 ms, and one at 31 ms. Both would go to one handler, where you
check if the timeout has expired and trigger the needed slot on
What about QElapsedTimer you can get nanoseconds out of it.
Br Daniel
From: René Reucher
To:
Sent: 4/4/2018 9:42 AM
Subject: Re: [Interest] QTimer at 30Hz interval?
On 04/04/18 09:33, Ola Røer Thorsen wrote:
> is there some nice trick to make a QTimer trigger at 30 Hz? This
On Wed, Apr 4, 2018 at 7:35 AM Hamish Moffatt
wrote:
> On 04/04/18 15:10, Vadim Peretokin wrote:
> > How can I programatically make a tab's text bold? I'm looking to
> > notify the user that they need to look at it.
> >
> > Note that this is different from using a stylesheet to set the
> > select
On 04/04/18 09:33, Ola Røer Thorsen wrote:
is there some nice trick to make a QTimer trigger at 30 Hz? This
interval can't be expressed properly in milliseconds (1000/30 =
33.33...)
My use case is for Linux only so I'd be happy with some Linux-specific
way of triggering a signal at 30 Hz
is there some nice trick to make a QTimer trigger at 30 Hz? This interval
can't be expressed properly in milliseconds (1000/30 = 33.33...)
My use case is for Linux only so I'd be happy with some Linux-specific way
of triggering a signal at 30 Hz too. It won't have to be very precise for
each t
20 matches
Mail list logo