[Interest] on bumping the minimum Android API level to Android 8.0 API 26

2023-04-05 Thread Maxim
Minimum supported API level recently raised from 21 (Qt 5.15) to 23 (Qt 6.0) then to 26 (Qt 6.5?) without details behind it, so possibility of deploying to devices with lower API level is unclean. I guess raising level 23 API may be caused by implementation of runtime permissons, but whats behind r

Re: [Interest] QML singleton properties are undefined if file placed in subdirectory

2023-03-07 Thread Maxim
Maybe i did not cleary note at question: I placing all qml files related to module (main.qml, Style.qml) into "qml" subdirectory (it was working until i try to use singletons) If i add ".qml" to the URI then QQmlApplicationEngine fails to load component from either QUrl url1(u"qrc:/untitled/qml/mai

[Interest] QML singleton properties are undefined if file placed in subdirectory

2023-03-06 Thread Maxim
Qt 6.4.2 QML singleton's properties undefined if singleton QML file placed in subdirectory e.g "/qml" (${CMAKE_SOURCE_DIR}/qml/Style.qml) set_source_files_properties(Style.qml PROPERTIES QT_QML_SINGLETON_TYPE TRUE) qt_add_qml_module(untitled URI untitled VERSION 1.0 QML_FILES qml/main.qml qml/St

[Interest] Flow-like layout ("GridFlow", "ContentFlow")

2016-11-25 Thread Maxim
I want make an compact positioning of QtQuick items with different height Flow don't support multiple vertical items inside one row (see example below) here is what Flow does: --

Re: [Interest] What don't you like about Qt?

2016-09-30 Thread Maxim
Some things that i don't like: -Qt uses own container classes (QList, QVector, etc.) instead STL containers (or some kind of STL derived containers). -Qt on Android: still big output APK size On Sat, Sep 17, 2016 at 11:20 PM, Sérgio Martins wrote: > Hi, > > > It's not unusual for us developers

[Interest] QList to QML transfer optimization

2016-05-30 Thread Maxim Bescherevnykh
Hello, Is possible to transfer QList to QML (to Map path) without temporary copy conversion to QVariantList? What is fastest way to convert QList to QVariantList? Currently i doing it that way: QVariantList tmp; tmp.reserve(data.size()); for (const QGeoCoordinate& i: data) tmp.push_back(QVaria

[Interest] QtPositioning high delay on QGeoPositionInfoSource::startUpdates

2016-04-01 Thread Maxim Bescherevnykh
QGeoPositionInfoSource::startUpdates startup time vary in high range 2 ms ~ 1 ms sometimes there is very high delays that freeze UI: "Looper Thread startup time in ms: 1189" "Looper Thread startup time in ms: 20" "Looper Thread startup time in ms: 8189" ... values from Android device (Nexus 5)

[Interest] Qt 5.6 high DPI scaling & resources

2016-02-18 Thread Maxim Bescherevnykh
In Qt Quick Controls 1 i can use an ldpi/mdpi/hdpi/etc. icon image depending on target screen DPI and icons looks perfect with proper size. Qt Quick Controls 2 designed to be used with Qt::AA_EnableHighDpiScaling at least on X11, Windows, Android, Eglfs. But i don't realise whats the right way to d

[Interest] [SOLVED] Re: Cannot resolve qt_plugin_instance in QQmlExtensionPlugin

2013-04-17 Thread Maxim Kouprianov
Found that in my .pro file: QMAKE_CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden That's making qt_plugin_instance symbol hidden by default. Problem is solved. Maxim Kouprianov пишет: > Hi all. > > I'm trying to write some QML extension plugin (QQmlExtensionPlug

[Interest] Cannot resolve qt_plugin_instance in QQmlExtensionPlugin

2013-04-16 Thread Maxim Kouprianov
inmyclassplugin.so: > (Symbol not found: ). Plugin source: https://gist.github.com/Xlab/2558aa068d49f0a2b6aa What additional information shall I provide? How to debug that cases? Please help :( Thanks in advance. -- Regards, Maxim Kouprianov