Re: [Interest] [Qt-creator] Android will require 64bit soon

2019-05-28 Thread Guenter Schwann via Interest
On Samstag, 2. Februar 2019 16:30:55 CEST ekke wrote:
> Am 02.02.19 um 04:29 schrieb Aleksey Kontsevich:
> > 01.02.2019, 12:11, "ekke" :
> >> Also I think I must then also compile OpenSSL for 32 bit and 64 bit and
> >> then need to know HowTo include into .pro> 
> > That could help You to do this:
> > https://github.com/akontsevich/openssl-android-build
> Thx Aleksey,
> 
> your github project looks great. Later this month I'll add 64 bit
> support to my Qt Android projects and will try to use your project to
> build OpenSSL for Android 32 + 64 Bit.

Have you been able to use SSL with 64 Bit Android?
As it is broken for me https://bugreports.qt.io/browse/QTBUG-73474

And there seem to be more Android 64 Bit issues :(
https://lists.qt-project.org/pipermail/android-development/2019-May/
001092.html

Günter



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Painting with QPainter to QPixmap in C++ method invoked from QML

2018-09-12 Thread Guenter Schwann via Interest
On Mittwoch, 12. September 2018 09:40:08 CEST Igor Mironchik wrote:
> Hello.
> 
> Let's say I have C++ code to draw to QPixmap with QPainter.
> 
> This code returns data:image/png;base64,... string that can be used in QML.
> 
> But when I invoke this method from QML I've got
> 
> QPainter::begin: Paint device returned engine == 0, type: 2
> 
> So my question is how can I draw with QPainter in back-end from QML?

I'm not sure what you would like to do.

Do you only show the image in the UI? Then QQuickPaintedItem is probably what 
you would like to use.
For providing images from C++ I write a QQuickImageProvider.

But from your error message I'd check if your paint device (QPixmap) is empty.



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] iOS build rejected by App Store Connect

2018-09-03 Thread Guenter Schwann via Interest
On Montag, 3. September 2018 12:58:28 CEST Nikos Chantziaras wrote:
> I followed the guide for the app icons to the letter:
> 
>https://doc.qt.io/qt-5.9/platform-notes-ios.html

I think that part of the Qt documentation is outdated. Instead it's mandatory 
by Apple to use an asset catalog for the icons.

Ekke's blog post helped me a lot:
https://appbus.wordpress.com/2017/10/06/ios-11-and-xcode-9-in-qt-5-9-x-projects/

-- 
Guenter Schwann
Viking Software
http://www.vikingsoftware.com



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] QML vs Electron

2018-08-07 Thread Guenter Schwann via Interest
On Dienstag, 7. August 2018 15:00:22 CEST Nikos Chantziaras wrote:
> But in any case, Android seems fine when using LGPL libraries, since a)
> Qt is linked to dynamically, and b) Android officially supports sideloading.

Does this cover tivoization (as it's v3 of LGPL) for closed source apps (apk)?
>From the FAQ:
"The user of your application has to be able to re-link your application 
against a different or modified version of the Qt library. ..."

Guenter Schwann
http://www.vikingsoftware.com



___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Optimizing performance with hundreds of widgets

2017-02-21 Thread Guenter Schwann
On Mittwoch, 15. Februar 2017 17:28:22 CET Gibbs, Matt wrote:
> Hi All,
> 
> I’m working on a Qt-based project to display rapidly updating information
> from a control system.  I want to display hundreds of signals, each
> updating at about 10 Hz.  As a performance test, I’ve thrown 500 Labels in
> a grid layout, and fire a timer every 100 ms which calls setText on each
> label.  This ends up being surprisingly CPU-intensive: on reasonably modern
> hardware (2012 MacBook Pro), I use 70% of one CPU.  This doesn’t leave me
> much overhead to do anything else.

I get about 25% CPU usage on my 2.5GHz Linux Notebook.
And when I use a single custom widget to draw all texts in a single 
paintEvent, CPU usage drops to about 15%.

https://gitlab.com/gschwann/WidgetsPerformance 

-- 
Günter Schwann | Freelancing Software Engineer | Qt Expert
Partner Consultant of Viking Software
guen...@vikingsoft.eu


___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Qt Creator does not "see" precompiled header

2017-02-21 Thread Guenter Schwann
On Mittwoch, 15. Februar 2017 17:17:14 CET Alexander Dyagilev wrote:
> Hello,
> 
> It's very annoying... Isn't it?
> 
> One has to write all these includes in every header file. Again and
> again... :(

You could include the "precompile-header" (pch.h). As this includes all the 
needed headers.
But I do not recommend that. As you should only include what you use.

Regards

-- 
Günter Schwann | Freelancing Software Engineer | Qt Expert
Partner Consultant of Viking Software
guen...@vikingsoft.eu
gun...@schwann.at
http://www.vikingsoft.eu
http://www.schwann.at/guenter

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] [PROGRESS] Long pause with 5.7

2016-11-14 Thread Guenter Schwann
On Montag, 14. November 2016 19:15:46 CET william.croc...@analog.com wrote:
> - Restoring window locations to where the user left them...
>Just one of a dozen behaviors of a good application
>which is not implemented well (if at all) by Qt and,
>therefore, has to be implemented by the developer.

It's quite back a while since I used it, but using QWidget::saveGeometry() and 
restoreGeometry() on the QMainWindow worked well for me.

http://doc.qt.io/qt-5/qwidget.html#saveGeometry
http://doc.qt.io/qt-5/qwidget.html#restoreGeometry

Guenter

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] CLion to replace QtCreator?

2016-05-18 Thread Guenter Schwann
On Tuesday, April 05, 2016 05:18:08 PM Emre Besirik wrote:
> Some of the lacking features are smart autocomplete maybe

At least with QtCreator 4.0 beta most issues are resolved for me.
What exactly do you mean by "smart"?

> Ctrl+K like search but improved in a better UI
I watched https://www.youtube.com/watch?v=j7nT9QWjOBA

Nothing stunning there. Mostly the same as Ctrl-K (you see more options the 
poping up). Some are Ctrl-Tab, Ctrl-Shift-I, Ctrl-Shift-T.

Is there something like Alt-Left for CLion?

> but most lacking part comes in UI/UX

I like QtCreator because it doesn't come with a bloated UI (in constrast to 
Visual Studio).
The UI is very lightweight. Close to a simple editor. But as soon as you know 
some shortcuts, it gets extremely powerful.
Maybe you should have a look at https://www.kdab.com/qtcreator


And again - which technology or trends do you think QtCreator is _eons_ 
behind?

Regards
Guenter

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] CLion to replace QtCreator?

2016-05-18 Thread Guenter Schwann
On Tuesday, April 05, 2016 04:19:42 PM NoMercy wrote:
> That QtCreator is eons behind current technology and trends, isn't it very
> obvious?

No! Absolutely not.
QtCreator is a really great IDE. Very lightweight, but still very powerful.
Simply using the "Esc" button is a single fantastic feature that I haven't 
seen elsewhere.

And for the technology: CLion as well as QtCreator are using clang for the 
code model (which is the heart of an IDE).
What other technology do you mean?

What trends do you see for IDEs?

> I would say just checkout features of ANY JetBrains product but
> you don't even intend to so you are in therefor denial. (Not personally you
> but many people who are objecting these)

I haven't used it yet - granted. But I have watched all the CLion releases so 
far.
They are looking promising. But I haven't seen any major feature that 
QtCreator would lack (C++ only).

I guess you haven't read the manual of QtCreator. So you missed tons of 
features.

And yes, QtCreator is not perfect. Especially the clang code model still needs 
polishing (speed is not up to the old model).
QtCreator 4.0 (beta) is looking really nice :)

Regards
Günter

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] CLion to replace QtCreator?

2016-04-05 Thread Guenter Schwann
On Monday, April 04, 2016 03:28:03 PM Emre Besirik wrote:
> * Search! (like spotlight search with just one shortcut key to open file
> or go to a particular location in your code):
> * search symbols
> * files in your project
> * search everywhere
> * you can lookout jetbrains IDEs for more examples

You mean Locator?
http://doc.qt.io/qtcreator/creator-editor-locator.html

> * ONE key to kill all other views
> and leave code windows open only (like distraction free mode of
> intellij)

Set a shortcut for "CloseAllExceptVisible"?

> * go proactive, generate getters/setter and stuff like that.

Move the cursor to the member variable in the class and press Alt-Enter ...

> >> * have tons of more keyboard shortcuts (check out intellij)

There are a tons of shortcuts, and you can fully customize them.
http://doc.qt.io/qtcreator/creator-keyboard-shortcuts.html

> * have a better user friendly UI

I like the UI a lot.

> I’m sorry to say this but QtCreator is actually eons behind the current
> IDE trends and technology :( 

QtCreator works really well for me. I prefer it over VisualStudio. CLion looks 
nice. But I haven't seen a lot 
of features not available in QtCreator.

By the way it seems you missed quite some refactoring:
http://doc.qt.io/qtcreator/creator-editor-refactoring.html

Regards
Günter

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] How can I build qt-Windows using WMF as multimedia backend?

2016-03-06 Thread Guenter Schwann
On Sunday, March 06, 2016 08:26:17 AM Liang Jian wrote:
> Thank you for the reply.
> But do you know why WMF backend will be removed from Qt 5.7 given the
> fact that DirectShow has been deprecated by Microsoft and WMF seems to be
> the future?

Very good question. Especially as I'm looking for video recording support for 
the Windows desktop.

Can someone tell what the future plans of QtMultimedia are (specially for the 
Windows desktop?).
If I'd add video recording support for windows desktop, which plugin would I 
work on?

Cheers
Guenter

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest