[Interest] Ubuntu 23+ window border issue

2024-07-07 Thread Alexander Dyagilev
Hello, Since Ubuntu 23, a Qt app's main window looks weird: it has no border and has no shadow. I've managed to "get" the border and the shadow by setting QT_QPA_PLATFORM environment variable to "xcb". More details here:

[Interest] QML: weird popup positioning in ComboBox

2024-06-09 Thread Alexander Dyagilev
Hello, I'm trying to customize my ComboBox. All is working fine except that the Popup is positioned above the control. I'm overriding popup using examples in docs. I set its y position to y: combo.height-1. I.e. ComboBox { id: combo . popup: Popup { y: combo.height-1

Re: [Interest] Detect if app is running under Qt Creator's debugger

2024-04-23 Thread Alexander Dyagilev
Oops, I see it has macOS support too. Fine. Something for Linux would be perfect :) On Tue, Apr 23, 2024 at 10:38 PM Alexander Dyagilev wrote: > David, thank you :) > > By the way, it would be perfect to have a cross platform code. > Windows-only one is OK for me for now, but in c

Re: [Interest] Detect if app is running under Qt Creator's debugger

2024-04-23 Thread Alexander Dyagilev
ACED flag is set. > > debuggedB = ( (info.kp_proc.p_flag & P_TRACED) != 0 ); > } > #endif // OPT_MACOS > #endif // !defined(_HELPERTOOL_) && !_YAAF_ > #endif // DEBUG > > return debuggedB; > } > > >

[Interest] Detect if app is running under Qt Creator's debugger

2024-04-23 Thread Alexander Dyagilev
Hello, Is there a simple way to detect it? What I would like to achieve is to perform some debug check similar to one Q_ASSERT does, but instead I want it to just print to console in case the app is NOT running under debugger and fall back to Q_ASSERT behavior otherwise (so I can see the stack

Re: [Interest] SVG is loaded with invalid dimensions on some machines

2024-04-20 Thread Alexander Dyagilev
rse for DPI-aware Qt applications. > > I could be wrong. > > Elvis > > >> On Thu, Apr 18, 2024 at 9:52 PM Alexander Dyagilev >> wrote: >> >>> Hello, >>> >>> The user with the issue has two monitors connected to his PC. *Weird >>> thin

Re: [Interest] SVG is loaded with invalid dimensions on some machines

2024-04-18 Thread Alexander Dyagilev
monitor and then moves to another one with different zoom setting). *Question is*: is it possible to disable this auto-zoom thing for a particular image or at least globally? On Thu, Apr 18, 2024 at 9:52 PM Alexander Dyagilev wrote: > Hello, > > The user with the issue has two monitors

Re: [Interest] SVG is loaded with invalid dimensions on some machines

2024-04-18 Thread Alexander Dyagilev
Dyagilev wrote: > Image as it's displayed on the user's machine: > > [image: image.png] > > > On Thu, Apr 18, 2024 at 11:21 AM Alexander Dyagilev > wrote: > >> I forgot to mention that this happens at least with Qt 6.4.3 and 6.6.2 >> (or 6.6.3 I don't remembe

Re: [Interest] SVG is loaded with invalid dimensions on some machines

2024-04-17 Thread Alexander Dyagilev
Image as it's displayed on my machine: [image: image.png] On Thu, Apr 18, 2024 at 11:24 AM Alexander Dyagilev wrote: > Image as it's displayed on the user's machine: > > [image: image.png] > > > On Thu, Apr 18, 2024 at 11:21 AM Alexander Dyagilev > wrote: >

Re: [Interest] SVG is loaded with invalid dimensions on some machines

2024-04-17 Thread Alexander Dyagilev
Image as it's displayed on the user's machine: [image: image.png] On Thu, Apr 18, 2024 at 11:21 AM Alexander Dyagilev wrote: > I forgot to mention that this happens at least with Qt 6.4.3 and 6.6.2 (or > 6.6.3 I don't remember exactly). We use this code to load the image: > > im

Re: [Interest] SVG is loaded with invalid dimensions on some machines

2024-04-17 Thread Alexander Dyagilev
{ id: sameHiddenImg visible: false source: parent.source } } So, valid values for preferredWidth and preferredHeight are 93 and 456. But for some rare users they are 116 and 570 accordingly. On Thu, Apr 18, 2024 at 11:16 AM Alexander Dyagilev wrote: > Hello, > &

[Interest] SVG is loaded with invalid dimensions on some machines

2024-04-17 Thread Alexander Dyagilev
Hello, A few of our users have issues with UI rendering. We SVG sprite to display some elements of our UI. This SVG has a size specified in it (93x456). And of course we rely on it. The issue is that sometimes it's loaded with 116x570 size due to some unknown reason. So it's like a different

Re: [Interest] HorizontalHeaderView is not able to calculate its items' width?

2024-03-23 Thread Alexander Dyagilev
I've created a bug report with more details here: https://bugreports.qt.io/browse/QTBUG-123639 On Sat, Mar 23, 2024 at 5:32 PM Alexander Dyagilev wrote: > Ohh... I was able to fix this issue. It's required: > 1) Remove *syncView: tableView* line > 2) Add *syncView: horizontalHea

Re: [Interest] HorizontalHeaderView is not able to calculate its items' width?

2024-03-23 Thread Alexander Dyagilev
dimensions (which is not very good and is not acceptable in all cases). On Sat, Mar 23, 2024 at 5:11 PM Alexander Dyagilev wrote: > Hello, > > I'm trying to learn how to use TableView. I've tried an example from Qt > docs and this is what I'm getting for now: > >

[Interest] HorizontalHeaderView is not able to calculate its items' width?

2024-03-23 Thread Alexander Dyagilev
Hello, I'm trying to learn how to use TableView. I've tried an example from Qt docs and this is what I'm getting for now: [image: image.png] HorizontalHeaderView does not take columns' width into account. I'm pretty sure it should be able to do this and tell its TableView to adjust its column

[Interest] Android: do not deploy FFmpeg media plugin

2024-03-07 Thread Alexander Dyagilev
Hello, I've updated my app from Qt 6.4.3 to 6.6.2 and found that APK size is increased on 12% (5MB). The culprit is FFmeg media plugin. It's deployed automatically by androiddeployqt utility. Is there a way to tell it to not deploy this plugin? We do not use it.

[Interest] Android: build:gradle plugin: adjust version depending on Qt version

2024-01-05 Thread Alexander Dyagilev
Hello, My project released using Qt 6.4.3. In its build.gradle I have this: classpath 'com.android.tools.build:gradle:7.2.1' But if I try to compile using Qt 6.6.1, I get a lot of errors. To fix them, I need to change version to 7.4.1. Then it works fine. But... I can't build using Qt 6.4.3.

[Interest] Can a signal/slot connection still exist after the receiver is destroyed?

2024-01-05 Thread Alexander Dyagilev
Hello, Let's suppose we have an object A with slot AA living in thread AAA. Let's suppose we have an object B with signal BB living in thread BBB. Let's suppose we've created a direct signal/slot connection from BB to AA. Question: is it possible that BB can call AA after it was destroyed? I

Re: [Interest] QEvent::Quit vs. QEvent::Close

2023-10-24 Thread Alexander Dyagilev
Then, it means it's a bug, because it's set always. At least in Qt 6.4.2. On 10/24/2023 12:15 AM, Volker Hilsheimer via Interest wrote: They should; the window system event is handled as a spontaneous event and should reach Q(Gui)Application::event with the spontaneous flag set; a call to

Re: [Interest] QEvent::Quit vs. QEvent::Close

2023-10-24 Thread Alexander Dyagilev
Hello, No, it returns true always. On 10/23/2023 11:30 PM, Hamish Moffatt via Interest wrote: On 24/10/23 06:10, Alexander Dyagilev wrote: I would prefer for an additional event to be used when the user triggers Quit. E.g. something like QEvent::QuitByUser. For now, it seems I will have

Re: [Interest] QEvent::Quit vs. QEvent::Close

2023-10-23 Thread Alexander Dyagilev
. Not good, IMO. On 10/23/2023 10:05 PM, Alexander Dyagilev wrote: Hello, In Qt 5.x we had QEvent::Close when the user was using Dock to quit our application. Now, this is not the case and QEvent::Quit is used instead. However, the same QEvent::Quit is used when my code calls qApp->q

[Interest] QEvent::Quit vs. QEvent::Close

2023-10-23 Thread Alexander Dyagilev
Hello, In Qt 5.x we had QEvent::Close when the user was using Dock to quit our application. Now, this is not the case and QEvent::Quit is used instead. However, the same QEvent::Quit is used when my code calls qApp->quit somewhere. Is it possible to distinguish these two situations?

Re: [Interest] Qt Creator: output large text in one line

2023-10-05 Thread Alexander Dyagilev
Btw, I've found, that word wrap mode is still active. But, for now it's only 3 lines of text instead of dozens of even hundreds. Maybe it just can't accommodate such a long text in one line. Anyway, now I can live with that :) On 10/5/2023 10:21 AM, Alexander Dyagilev wrote: Well, sorry

Re: [Interest] Qt Creator: output large text in one line

2023-10-05 Thread Alexander Dyagilev
Well, sorry, I'm too lazy. Just found it (settings gear in this pane)... On 10/5/2023 10:19 AM, Alexander Dyagilev wrote: Hello, My debug code can sometimes output quite a large texts. However, all such texts are single-line. Unfortunately, Qt Creator displaying texts using word wrap

[Interest] Qt Creator: output large text in one line

2023-10-05 Thread Alexander Dyagilev
Hello, My debug code can sometimes output quite a large texts. However, all such texts are single-line. Unfortunately, Qt Creator displaying texts using word wrap. Is it possible to turn word wrap off in the Application Output pane? ___ Interest

Re: [Interest] Qt Online installer weird behavior under Linux (Ubuntu)

2023-09-18 Thread Alexander Dyagilev
Hello, I've tried it again today - now it's working fine. On 9/16/2023 3:32 PM, Alexander Dyagilev wrote: Hello, I can't use Qt online installer to install Qt under Ubuntu. This is what I get: I've tried Ubuntu 20 and 22. ___ Interest mailing

[Interest] Qt Online installer weird behavior under Linux (Ubuntu)

2023-09-16 Thread Alexander Dyagilev
Hello, I can't use Qt online installer to install Qt under Ubuntu. This is what I get: I've tried Ubuntu 20 and 22. ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] QSharedMemory::create returns out of resources errors on a few macOS machines

2023-07-01 Thread Alexander Dyagilev
Hello, Some rare uses keeps reporting that our app can't start due to this error. We use QSharedMemory to keep track of running instances of our app. It seems this is can be a known issue due to macOS limits. Here an article on how to lift them:

[Interest] QtCreator new C++ formatting is not good sometimes...

2023-06-26 Thread Alexander Dyagilev
Hello, Let's suppose I have this: I always prefer a base class to be specified on the second line. In older versions if I press Enter I was getting something like this: Now I'm getting this: This is neither nice nor practical... ___ Interest

Re: [Interest] QDateTime::fromString does not work with Qt::RFC2822Date

2023-06-19 Thread Alexander Dyagilev
ug or even a regression. I'll check this and respond to the Jira ticket. Cheers Axel *Von:* Interest im Auftrag von Alexander Dyagilev *Gesendet:* Montag, 19. Juni 2023 12:51 *An:* Qt Interest *Betreff:* [Interest] QDate

[Interest] QDateTime::fromString does not work with Qt::RFC2822Date

2023-06-19 Thread Alexander Dyagilev
Hi guys, Am I an idiot, or is it really QDateTime::fromString which is broken since at least Qt 6.2.4 ? I've created the bug report here: https://bugreports.qt.io/browse/QTBUG-114681 ___ Interest mailing list Interest@qt-project.org

Re: [Interest] QML: What is a proper way to bind Label's font to FontMetrics's one

2023-06-17 Thread Alexander Dyagilev
Hello, Ahh, it was bug in my code: I forgot, that FontMetrics.advanceWidth does not create a binding with font... On 6/16/2023 11:19 AM, Alexander Dyagilev wrote: Hello, Qt 5.12.12 - works fine. Qt 6.4.2 - works buggy (IMO). Is it just a Qt bug, or is it me know QML not very good? So

[Interest] QML: What is a proper way to bind Label's font to FontMetrics's one

2023-06-16 Thread Alexander Dyagilev
Hello, Qt 5.12.12 - works fine. Qt 6.4.2 - works buggy (IMO). Is it just a Qt bug, or is it me know QML not very good? So, I'm trying to bind |font| properties in this way: Label {   id: root   FontMetrics { font: root.font   } } Is it legal? If no, is there one? Or, at

Re: [Interest] Mysterious C++/QML compilation bug

2023-06-12 Thread Alexander Dyagilev
Sorry, I forgot to mention that in this particular case I'm using Qt 5.12.12. Maybe this is a known issue, or it's already fixed or even never existed in Qt 6.x. On 6/12/2023 5:26 PM, Alexander Dyagilev wrote: Please note, that this is not something occasional. I'm able to 100% reproduce

Re: [Interest] Mysterious C++/QML compilation bug

2023-06-12 Thread Alexander Dyagilev
. insert a space and then save file). 5. Build and launch app - all is OK. On 6/12/2023 5:20 PM, Alexander Dyagilev wrote: Hello, In C++ I'm using Q_NAMESPACE + Q_ENUM_NS and export enum to QML (in QML I use it like MyCoolEnum.MyCoolValue). I've found a weird issue: I've inserted a new value

[Interest] Mysterious C++/QML compilation bug

2023-06-12 Thread Alexander Dyagilev
Hello, In C++ I'm using Q_NAMESPACE + Q_ENUM_NS and export enum to QML (in QML I use it like MyCoolEnum.MyCoolValue). I've found a weird issue: I've inserted a new value in the middle of my enum. And all was suddenly broken. I spent 1 hour trying to understand what is going on. Full

Re: [Interest] Qt online installer: Linux ARM platform?

2023-06-02 Thread Alexander Dyagilev
1. In an ideal world, yes, I agree with you :) But, in this real world we have to deal with a lot of issues including Qt bugs. In case we do provide Qt binaries alongside with our app we provide our users the best possible experience. Before we made a release, we test our app with the specific

[Interest] Qt online installer: Linux ARM platform?

2023-06-02 Thread Alexander Dyagilev
Hello, Am I right that there is no way to build an app for Linux ARM platform using Qt online installer? Some of our users asks to add support of Raspberry Pi. We use prebuilt Qt binaries (provided by online installer) and would like to stick with them further :)

Re: [Interest] Qt5 --> Qt6 dramatic increase of binary sizes under macOS

2023-06-02 Thread Alexander Dyagilev
Hello, Yes, this is it. I did not know about such a thing (macos universal binaries). Thanks! :) On 6/2/2023 6:38 AM, Thiago Macieira wrote: On Thursday, 1 June 2023 10:56:54 PDT Alexander Dyagilev wrote: 1) Is this a bug? For me, it sounds like a bug of macOS build system, because

[Interest] Qt5 --> Qt6 dramatic increase of binary sizes under macOS

2023-06-01 Thread Alexander Dyagilev
Hello, There is something strange with macOS builds (Qt 6.4.3). Size of my app's DMG compiled with Qt5 is 38M. Qt6 - 77MB. I.e. more than 2 times larger. Other platforms I've checked (Windows, Android) - are fine. I.e. binary sizes are approximately the same. I've tried to find the

[Interest] Android: QDesktopServices::openUrl and content scheme?

2023-06-01 Thread Alexander Dyagilev
Hello, According to this article: https://www.qt.io/blog/qt-for-android-storage-updates Am I right, that QDesktopServices::openUrl(QUrl::fromLocalFile(file)) will be using content scheme since Qt 6.6 ? I've tried to use it to open PDF file - Google PDF Viewer crashes because it's opened

Re: [Interest] qmake: set CFBundleDisplayName?

2023-05-31 Thread Alexander Dyagilev
There is a way using QMAKE_SUBSTITUTES (https://forum.qt.io/post/546870) But I would prefer a more simple way. On 5/31/2023 3:29 PM, Alexander Dyagilev wrote: Hello, Is there a way to set this value from within qmake using some of its built-in variables? By default, qmake generates

Re: [Interest] qmake: set CFBundleDisplayName?

2023-05-31 Thread Alexander Dyagilev
On 31. May 2023, at 14:29, Alexander Dyagilev wrote: Hello, Is there a way to set this value from within qmake using some of its built-in variables? By default, qmake generates Info.plist with the following content: CFBundleDisplayName ${PRODUCT_NAME

[Interest] qmake: set CFBundleDisplayName?

2023-05-31 Thread Alexander Dyagilev
Hello, Is there a way to set this value from within qmake using some of its built-in variables? By default, qmake generates Info.plist with the following content: CFBundleDisplayName ${PRODUCT_NAME} ___ Interest mailing list

Re: [Interest] Continued past failed assertions with MSVC

2023-05-09 Thread Alexander Dyagilev
Yes, it's a horrible dialogue and it must be eliminated once and forever. The most ugly thing coming from it is that it changes the way app works. It executes additional event loop in those regions of code where it's not supposed to happen. This can bring additional bugs and/or change an

[Interest] iOS: no shared libraries support?

2023-05-09 Thread Alexander Dyagilev
Hello, I've just found a very disappointing issue: queued connections does NOT work with objects from shared libraries under iOS... I'm trying to port my existing application to iOS and it seems it would be impossible because of this... I've created bug report:

Re: [Interest] QMAKE_BUNDLE_DATA: $$files does not work for macOS

2023-05-01 Thread Alexander Dyagilev
Yes, looks like this. Any way to work around this? :) On 5/1/2023 8:36 PM, Thiago Macieira wrote: On Monday, 1 May 2023 06:39:43 PDT Alexander Dyagilev wrote: Hello, Did anybody encounter this issue and has a nice workaround? I'm trying to use this code (qmake) to copy my shared library

[Interest] QMAKE_BUNDLE_DATA: $$files does not work for macOS

2023-05-01 Thread Alexander Dyagilev
Hello, Did anybody encounter this issue and has a nice workaround? I'm trying to use this code (qmake) to copy my shared library to Frameworks folder of my app's bundle. mylib.files = $$files($$OUT_PWD/$$DESTDIR/libmylib*.dylib) mylib.path = Contents/Frameworks QMAKE_BUNDLE_DATA += mylib It

Re: [Interest] Qt Quick: no qmake support anymore?

2023-04-29 Thread Alexander Dyagilev
correctly and it finds qmake, it is available and supported. This is my Qt Creator 10 on MacOS: Cheers Axel *Von:* Interest im Auftrag von Alexander Dyagilev *Gesendet:* Samstag, 29. April 2023 12:05 *An:* interest@qt

[Interest] Qt Quick: no qmake support anymore?

2023-04-29 Thread Alexander Dyagilev
Hello, I'm trying to create a new Qt Quick application in Qt Creator 10 under macOS. On the Define Build System steps there are only two available: cmake and qbs. Is it a bug or qmake is not supported anymore? If it's not supported, what will happen with existing projects? I do not get

Re: [Interest] QTcpServer::setProxy meaning?

2023-04-20 Thread Alexander Dyagilev
2023 07:17:39 PST Alexander Dyagilev wrote: Hello, I can't understand it. Are there really proxies supporting such a mode? Yes, SOCKS proxies for example. I.e. QTcpServer tells a proxy to start listening on some specific port and redirect incoming connections to QTcpServer? Yes

Re: [Interest] qtwayland compositor crashes on quit

2023-04-18 Thread Alexander Dyagilev
Hello, My suggestion for you: downgrade your app as much as possible to get a minimal reproduce example. You can find the reason while you will be doing this. Just cut cut and cut :) On 4/17/2023 9:32 PM, Florian Hänel via Interest wrote: Hi, I am seeing our qtwayland/quick compositor

Re: [Interest] How to detect iOS in qmake?

2023-03-17 Thread Alexander Dyagilev
LOL, sorry, it's ios instead of iOS. xD On 3/17/2023 6:41 PM, Alexander Dyagilev wrote: Hi guys, Is there a way? For example, we can do the following in Android: android:CONFIG += my_android_features Is there a way for iOS? I've tried this and it's not working: iOS:CONFIG

[Interest] How to detect iOS in qmake?

2023-03-17 Thread Alexander Dyagilev
Hi guys, Is there a way? For example, we can do the following in Android: android:CONFIG += my_android_features Is there a way for iOS? I've tried this and it's not working: iOS:CONFIG += my_ios_features ___ Interest mailing list

[Interest] Can I use Qt Creator while Maintenance tool is performing an update?

2023-03-16 Thread Alexander Dyagilev
Hello, E.g. , for now I'm installing Qt 6.4.3. Can I use Qt Creator before it finishes? ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] Android: QLocale::system().name() always returns "C" in a service process

2023-03-09 Thread Alexander Dyagilev
Hi guys, https://bugreports.qt.io/browse/QTBUG-111851 Is there a workaround? ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] QTcpServer::setProxy meaning?

2023-02-27 Thread Alexander Dyagilev
Ooops, sorry, it's a bug in my code. On 2/27/2023 12:38 PM, Alexander Dyagilev wrote: Hello, OK, thanks for the report. It seems, there is a bug? QNetworkProxyQuery q(32000, QString(), QNetworkProxyQuery::TcpServer); m_proxyFactory->queryProxy(q); returns a proxy of QNetworkProxy::HttpPr

Re: [Interest] QTcpServer::setProxy meaning?

2023-02-27 Thread Alexander Dyagilev
nly (https://doc.qt.io/qt-6/qnetworkproxy.html#ProxyType-enum). On 2/25/2023 8:50 PM, Thiago Macieira wrote: On Saturday, 25 February 2023 07:17:39 PST Alexander Dyagilev wrote: Hello, I can't understand it. Are there really proxies supporting such a mode? Yes, SOCKS proxies for example.

[Interest] QTcpServer::setProxy meaning?

2023-02-25 Thread Alexander Dyagilev
Hello, I can't understand it. Are there really proxies supporting such a mode? I.e. QTcpServer tells a proxy to start listening on some specific port and redirect incoming connections to QTcpServer? ___ Interest mailing list Interest@qt-project.org

[Interest] Drag of a local file does not work under Ubuntu (?)

2023-02-17 Thread Alexander Dyagilev
Hello, I'm trying to drag a file FROM my app TO an arbitrary app. Typically - Desktop or Explorer/Finder/Files. Windows, macOS - works fine. Ubuntu - nothing happens. I'm using Qt 5.12.12. Tried Qt 6.4.1 - wow, it started to work. However, I still can't drag to Desktop and it seems files

Re: [Interest] [Development] Qt 6.5 Is Irrelevant for More than 95% of Mac Desktops

2022-12-16 Thread Alexander Dyagilev
Hello, It's understandable why Apple did this. But why did you do this? Does the supporting of 10.15 really increase the development cost for Qt Company? On 12/16/2022 3:39 PM, Thiago Macieira wrote: On Friday, 16 December 2022 09:20:44 -03 coroberti wrote: Hi, Since Qt 6.5 drops Mac OS

Re: [Interest] Android: debugger not working

2022-12-09 Thread Alexander Dyagilev
OK. Can you, or anybody else there confirm, that it's possible to use Android debugger under Windows 10 + AMD platform? Anyone tried it? On 12/9/2022 6:59 PM, Thiago Macieira wrote: On Friday, 9 December 2022 04:28:20 PST Alexander Dyagilev wrote: https://bugreports.qt.io/browse

Re: [Interest] Android: debugger not working

2022-12-09 Thread Alexander Dyagilev
https://bugreports.qt.io/browse/QTCREATORBUG-28582 It's weird that no one interested. It seems I'm the only one on AMD + Windows platform. :) On 12/9/2022 2:28 PM, Alexander Dyagilev wrote: Ohhh... It works on my old Intel laptop. On my current AMD laptop it's still not working even

Re: [Interest] Android: debugger not working

2022-12-09 Thread Alexander Dyagilev
Ohhh... It works on my old Intel laptop. On my current AMD laptop it's still not working even with 6.2.4. I will continue to investigate, but any suggestions would be appreciated. :) On 12/9/2022 1:54 PM, Alexander Dyagilev wrote: Well, it seems it's Qt 6.4.1 bug. And I am the only one using

Re: [Interest] Android: debugger not working

2022-12-09 Thread Alexander Dyagilev
Well, it seems it's Qt 6.4.1 bug. And I am the only one using it for Android development. Tested 6.2.4 - works fine. I will add more details in my ticket soon... On 12/7/2022 5:31 PM, Alexander Dyagilev wrote: Hello, I'm on Windows 10 + AMD Ryzen7 laptop. Is this configuration supported

Re: [Interest] Android: debugger not working

2022-12-08 Thread Alexander Dyagilev
? Does the debugger work there? Cheers, Cristian. *From:* Interest on behalf of Alexander Dyagilev *Sent:* Thursday, December 8, 2022 06:12 *To:* interest@qt-project.org *Subject:* Re: [Interest] Android: debugger not w

Re: [Interest] Android: debugger not working

2022-12-07 Thread Alexander Dyagilev
do not have armv8a real device so I can't test it. I suspect that the only supported platform for debugging is armv8a. At least under Windows + Amd ryzen7. On 12/7/2022 5:31 PM, Alexander Dyagilev wrote: Hello, I'm on Windows 10 + AMD Ryzen7 laptop. Is this configuration supported

Re: [Interest] Android: debugger not working

2022-12-07 Thread Alexander Dyagilev
Previously it was working under my Linux virtual machine + Android x86 emulator. Now (Qt Creator 9 + Qt 6.4.1) it does not work there too (at least breakpoints not working). On 12/7/2022 5:31 PM, Alexander Dyagilev wrote: Hello, I'm on Windows 10 + AMD Ryzen7 laptop. Is this configuration

[Interest] Android: debugger not working

2022-12-07 Thread Alexander Dyagilev
Hello, I'm on Windows 10 + AMD Ryzen7 laptop. Is this configuration supported for developing Android applications? I never saw Android debugger working in this configuration. ___ Interest mailing list Interest@qt-project.org

[Interest] Android: weird render issue under Qt 6.4.1

2022-11-30 Thread Alexander Dyagilev
Hello, All was working fine under Qt 5.12.12. Now we would like to upgrade to Qt 6.4.1. Unfortunately, we've found at least one weird and fatal issue: https://bugreports.qt.io/browse/QTBUG-109075 What is going on? Is there any possible workaround we could try out?

Re: [Interest] Android: No 2GB+ files support under 32bit

2022-11-27 Thread Alexander Dyagilev
sing 32bit Android... On 11/27/2022 5:32 AM, Thiago Macieira wrote: On Friday, 25 November 2022 14:23:33 PST Alexander Dyagilev wrote: Hello, A long lasting ticket here: https://bugreports.qt.io/browse/QTBUG-84033 Our users in Google Play still claiming about it. And even I am still using Sa

[Interest] Android: No 2GB+ files support under 32bit

2022-11-25 Thread Alexander Dyagilev
Hello, A long lasting ticket here: https://bugreports.qt.io/browse/QTBUG-84033 Our users in Google Play still claiming about it. And even I am still using Samsung A-10 which is 32bit :) I've just checked Qt 6.4.1 in a hope that it addressed this issue - no luck :) Is it really that hard to

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-19 Thread Alexander Dyagilev
Hello, Removing QMAKE_RANLIB helped. Thanks. On 11/19/2022 12:31 AM, Thiago Macieira wrote: On Friday, 18 November 2022 09:34:22 PST Alexander Dyagilev wrote: I use Qt Creator and qmake. I never used cmake... Looks like it's a left-over in the qmake mkspec then. mkspecs/features/android

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
https://bugreports.qt.io/browse/QTCREATORBUG-28472 Happens under Linux also. The repro sample is pretty simple - project should contain library subproject. It's weird that I'm the only on the planet using libraries in Qt projects for Android platform. On 11/18/2022 8:07 PM, Alexander

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
*Workaround* I've found for now is to just make a link (or just copy) from llvm-ranlib.exe to arm-linux-androideabi-ranlib.exe. Is there any better solution? On 11/18/2022 8:07 PM, Alexander Dyagilev wrote: Hello, Switched to the required NDK 23.1.7779620 and now getting the following weird

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
I use Qt Creator and qmake. I never used cmake... Why does not Qt Creator know about these changed in NDK 23? How could 6.4.1 be release then if Qt Creator does not support it... On 11/18/2022 8:27 PM, Thiago Macieira wrote: On Friday, 18 November 2022 09:16:04 PST Alexander Dyagilev wrote

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
This file exists in NDKs prior to 23.x.x versions. So?... Googling shows nothing. It seems I am the only in the world who builds for Android under Windows. On 11/18/2022 8:16 PM, Alexander Dyagilev wrote: I've checked: I don't have this C:\Users\alexa\AppData\Local\Android\Sdk\ndk

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
I've checked: I don't have this C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib. The only ranlib there is llvm-ranlib.exe. Is it Qt bug? Android NDK bug? My setup config bug? On 11/18/2022 8:07 PM, Alexander

[Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
Hello, Switched to the required NDK 23.1.7779620 and now getting the following weird error: C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib ..\bin\libnetwrksniff_armeabi-v7a.a process_begin:

Re: [Interest] Android: how to add Firebase dependency?

2022-11-16 Thread Alexander Dyagilev
I've tried the same for Qt6 - builds fine. Any workarounds to get it built for Qt 5.12? On 11/16/2022 4:18 PM, Alexander Dyagilev wrote: Hello, I would like to use it the same way as in any native Android app not using Qt. I'm trying to add all the required dependencies to build.gradle

Re: [Interest] Android: how to add Firebase dependency?

2022-11-16 Thread Alexander Dyagilev
I've created a bit better version of this question here: https://stackoverflow.com/questions/74461428/add-firebase-dependency-to-qt-project Please help :) On 11/16/2022 4:18 PM, Alexander Dyagilev wrote: Hello, I would like to use it the same way as in any native Android app not using Qt

[Interest] Android: how to add Firebase dependency?

2022-11-16 Thread Alexander Dyagilev
Hello, I would like to use it the same way as in any native Android app not using Qt. I'm trying to add all the required dependencies to build.gradle and getting weird errors. I'm not good in Gradle so any help is appreciated (if this is possible at all, because I'm using quite old Qt

Re: [Interest] QSystemTrayIcon::messageClicked bug?

2022-10-27 Thread Alexander Dyagilev
It's not in my system :) It's in all Ubuntu versions, at least 20.x and 22.x. On 10/28/2022 6:47 AM, Thiago Macieira wrote: On Thursday, 27 October 2022 20:33:35 PDT Alexander Dyagilev wrote: It prints only this message: qt.qpa.tray: 2 "default" However, I see QDBusTrayIcon::act

Re: [Interest] QSystemTrayIcon::messageClicked bug?

2022-10-27 Thread Alexander Dyagilev
It prints only this message: qt.qpa.tray: 2 "default" However, I see QDBusTrayIcon::actionInvoked in the stack trace. On 10/28/2022 5:48 AM, Thiago Macieira wrote: On Thursday, 27 October 2022 19:29:49 PDT Alexander Dyagilev wrote: Hello, Docs states: "This signal

[Interest] QSystemTrayIcon::messageClicked bug?

2022-10-27 Thread Alexander Dyagilev
Hello, Docs states: "This signal is emitted when the message displayed using showMessage () was clicked by the user." I don't call showMessage. However, I'm getting this signal when I click on notification message

Re: [Interest] Qt: Quick: Failed to create OpenGL context

2022-10-04 Thread Alexander Dyagilev
Hello, I was thinking about it, but it seems there is a better solution: auto isOK = QOpenGLContext().create(); Btw, did not test on users yet... xD ANGLE - I was getting weird bugs on it. E.g. |clip| property sometimes just did not work which was ruining the entire UI in my app... I tried

[Interest] Qt: Quick: Failed to create OpenGL context

2022-09-19 Thread Alexander Dyagilev
Hello, We use Qt 5.12.12 and we were getting lot of various issues regarding OpenGL (crashes, hangs, white screen showing nothing etc.) so we decided to switch to software mode (QT_OPENGL=software). But now we're getting these reports from some users: Switching back to  QT_OPENGL=desktop or

Re: [Interest] Official linuxdeployqt ?

2022-08-09 Thread Alexander Dyagilev
I think that an optimal solution (and a pretty fit for me) would be for the linuxdeployqt to just deploy all the necessary files next to the specified binary. It's up to a developer what to do next with all the files. Of course, linuxdeployqt can also support (optionally) any number of

Re: [Interest] QML: non scaled image strange issue under Linux

2022-07-26 Thread Alexander Dyagilev
On 7/23/2022 8:12 PM, Fatih Uzunoğlu wrote: In case OpenGL is used, this might be a bug in your OpenGL driver. Maybe, it's VirtualBox Ubuntu 22. ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] QML: non scaled image strange issue under Linux

2022-07-26 Thread Alexander Dyagilev
OK, I can live with scale logic always active. But why is it so blurred when scale is 100%... For me, it's definitely a bug... But it seems I'm too lazy to file one yet bug report... On 7/23/2022 1:50 PM, Roland Hughes via Interest wrote: On 7/23/22 05:00, Alexander Dyagilev wrote: I'm

[Interest] QML: non scaled image strange issue under Linux

2022-07-22 Thread Alexander Dyagilev
Hello, I'm generating image (QR code) using QML image provider. Show it using Image control using actual size (i.e. width height are not specified, and I also set fill mode to Pad). Windows and macOS - works fine. Linux (Ubuntu) - it's shown blurred. If I set smooth property to false -

Re: [Interest] macOS: troubles using my own CA

2022-07-19 Thread Alexander Dyagilev
Hello, Accidentally, found the solution for this issue: |// This avoids using the default keychain for SSL, which may cause // password prompts on macOS. qputenv("QT_SSL_USE_TEMPORARY_KEYCHAIN", "1");| On 7/12/2022 11:21 AM, Alexander Dyagilev wrote: Hello, I'm on

Re: [Interest] macOS: troubles using my own CA

2022-07-14 Thread Alexander Dyagilev
to force Qt 5.12 to use OpenSSL instead of SecureTransport? :) I've tried googling but did not find answer. On 7/14/2022 11:09 AM, Alexander Dyagilev wrote: On 7/12/2022 11:14 PM, Frank Osterfeld via Interest wrote: SecureTransport is deprecated by Apple, but the backend is still the default in 6.3

Re: [Interest] macOS: troubles using my own CA

2022-07-14 Thread Alexander Dyagilev
On 7/12/2022 11:14 PM, Frank Osterfeld via Interest wrote: SecureTransport is deprecated by Apple, but the backend is still the default in 6.3. So unless Alexander explicitly enabled OpenSSL for one or the other, it wouldn’t expect big changes here. Ha-ha, I've just checked - Qt 6.3 uses

Re: [Interest] macOS: troubles using my own CA

2022-07-14 Thread Alexander Dyagilev
On 7/12/2022 11:14 PM, Frank Osterfeld via Interest wrote: From what I know, SecureTransport is the default used on macOS since Qt 5.10.0 (running configure in 5.10.0 qtbase seems to confirm this). Yes, it seems your are right. SecureTransport is deprecated by Apple, but the backend is

Re: [Interest] macOS: troubles using my own CA

2022-07-14 Thread Alexander Dyagilev
Hello, I think you are wrong. Qt 5.12.12: QSslSocket::sslLibraryVersionString reports that it's Secure Transport. On 7/12/2022 9:05 PM, Thiago Macieira wrote: Qt 6.3 uses a completely different implementation of SSL on a Mac from 5.x. It uses the Apple API in SecureTransport, while Qt 5

[Interest] macOS: troubles using my own CA

2022-07-12 Thread Alexander Dyagilev
Hello, I'm on macOS Big Sur 11.5.1. First, I must say, that there are NO problems when I use Qt 6.3.0. But, I HAVE TO use Qt 5.12.12, so please if anyone know something that can help - please help :) I have my own server, written on Qt, on SSL sockets, with my own CA certificate. I install

Re: [Interest] Qt6: Android: huge APK ?

2022-07-08 Thread Alexander Dyagilev
https://bugreports.qt.io/browse/QTBUG-104827 On 7/5/2022 10:51 PM, Alexander Dyagilev wrote: Hello, APK sizes for my application (release version, armv7a, built using Qt Creator): Qt 5.12.12 - 37 MB. Qt 6.1.3 - 216 MB. What is going on? I've compared Qt's sizes. It seems Qt6 is much

Re: [Interest] Qt6: Android: huge APK ?

2022-07-06 Thread Alexander Dyagilev
:51, Alexander Dyagilev wrote: Hello, APK sizes for my application (release version, armv7a, built using Qt Creator): Qt 5.12.12 - 37 MB. Qt 6.1.3 - 216 MB. What is going on? I've compared Qt's sizes. It seems Qt6 is much bigger. For example: libQt5Qml.so - 4.4 MB

Re: [Interest] Qt6: Android: huge APK ?

2022-07-06 Thread Alexander Dyagilev
/android_armv7/lib/libQt6Qml_armeabi-v7a.so -rwxr-xr-x 1 alex staff 2.7M Jun 6 21:04 ../6.3.1/android_armv7/lib/libQt6Qml_armeabi-v7a.so On 5. Jul 2022, at 21:51, Alexander Dyagilev wrote: Hello, APK sizes for my application (release version, armv7a, built using Qt Creator): Qt 5.12.12

  1   2   3   4   5   >