[Interest] Remove locations from .ts files?

2025-04-16 Thread Alexander Dyagilev
Hello, I would like to remove them (i.e. use *lupdate -locations none* command line switch). It's a pain to see/work with all these differences in git even if there was no actual change. Is it safe to remove ones? Are there any side effects? ___ Interes

[Interest] Qt web site issue (Firefox)

2025-04-04 Thread Alexander Dyagilev
Hello, Try to open this URL in Firefox web browser: https://www.qt.io/pricing. You won't be able to see any information/prices there. Works fine under Chromium based web browsers. It's sad that you do not test your web site to work under Firefox. Please keep supporting Mozilla Firefox browser t

[Interest] macOS: QEvent::FileOpen is no longer received on Qt 6.8.2

2025-04-03 Thread Alexander Dyagilev
Hello, I install custom scheme handler using LSSetDefaultHandlerForURLScheme and process QEvent::FileOpen events. All was working fine until I updated to Qt 6.8.2 (from Qt 6.4.3). Now I'm not receiving any QEvent::FileOpen events. Is this a Qt bug? Maybe I missed something?

Re: [Interest] macOS: QEvent::FileOpen is no longer received on Qt 6.8.2

2025-04-02 Thread Alexander Dyagilev
https://bugreports.qt.io/browse/QTBUG-134316 On Wed, Apr 2, 2025 at 10:48 PM Alexander Dyagilev wrote: > Hello, > > I install custom scheme handler using LSSetDefaultHandlerForURLScheme and > process QEvent::FileOpen events. > > All was working fine until I updated to Qt 6.

Re: [Interest] QML Text with adaptive color

2025-01-26 Thread Alexander Dyagilev
really depends on how dynamic your colors are going to be. > > Kind regards, > > Mike > > > *Director, Codecept Software Pty Ltd* > miketrahe...@codeceptsoftware.com > +61 (0) 467 084 485 > ACN: 679 947 347 > ABN: 55 679 947 347 > Book a Consultation <https://

[Interest] QML Text with adaptive color

2025-01-26 Thread Alexander Dyagilev
Hello, Is it possible to achieve something like this in QML? [image: 7c51c428-735a-476d-95b0-da06e90f28d3.png] I would like to draw a text on a non-solid background. E.g. some areas can be black, some can be white, red, etc. Text should automatically change its color so it stays visible and read

[Interest] qmake: enable с++20

2025-01-02 Thread Alexander Dyagilev
Hello, Am I right that one needs to use CONFIG += c++2a instead of CONFIG += c++20 to enable subj? ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] QML Text vertical center issue

2024-12-10 Thread Alexander Dyagilev
Hello, I want my text element to be centered vertically. For this, I've tried to use this: *anchors.horizontalCenter: parent.horizontalCenter* However, it does not work well: it has 11 pixels above it and 13 pixels below it inside of its parent. So, I've tried this instead: *height: parent.he

Re: [Interest] FileDialog nameFilters: is it supposed to work on Android?

2024-10-21 Thread Alexander Dyagilev
Hello, It seems it's working fine on my Android 14 Samsung A55 phone. FileDialog { nameFilters: [qsTr("Zip files") + " (*.zip)" + App.loc.emptyString] fileMode: FileDialog.SaveFile } It still shows all files, however non-zi

Re: [Interest] [QML] Override property value in some cases only

2024-10-12 Thread Alexander Dyagilev
you can't define a reset function > purely in QML so you must provide a valid result for both the true and > false case. Have a search in the mailing list first lest I get caught out > repeating what has already been very well covered by others and I hope it > helps you get where you

[Interest] [QML] Override property value in some cases only

2024-10-12 Thread Alexander Dyagilev
Hello, As example, let's suppose I would like to change font name for a TextField only in case it contains "test" text. What is the best way to do it in QML? Is there any special syntax maybe? TextField { font.family: text.contains("test") ? "Inter" : DONT_CHANGE_PROPERTY } _

Re: [Interest] QML property vs. id.property

2024-10-07 Thread Alexander Dyagilev
On Sun, Oct 6, 2024 at 7:52 PM Sze Howe Koh wrote: > > It's invisible for a different reason. Text (Item) already has an "x" > property: https://doc.qt.io/qt-6/qml-qtquick-item.html#x-prop > > `visible: x` refers to the Text's x-position, which is 0 here. > Ooops. Thank you! :) > > Writing `p

[Interest] QML property vs. id.property

2024-10-05 Thread Alexander Dyagilev
Hello, I'm getting different results if I use object's id or not when accessing its property. Let's look at this code example: Window { id: root property var x Text { visible: x text: "test" } } Text is invisible, as it should be. But if I replace "visible: x"

Re: [Interest] Change Menu background

2024-10-03 Thread Alexander Dyagilev
> > > Regards, > > Doris Verria > > > > *From: *Interest on behalf of Alexander > Dyagilev > *Date: *Thursday, 3 October 2024 at 2:47 PM > *To: *Qt Project > *Subject: *[Interest] Change Menu background > > Hello, > > > > I'm

[Interest] Change Menu background

2024-10-03 Thread Alexander Dyagilev
Hello, I'm using Qt 6.6.3. I'm trying to customize menu. I've created the following component: Menu { background: Rectangle { color: "green" } } Now my menu just does not show up. I believe it's because its size is (0,0) now. Where am I wrong? In Qt docs it's stated, that back

[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: https://ubuntuhandbook.org/index.php/2023/10/window-border-shadow-qt-apps-u

[Interest] QML: weird popup positioning in ComboBox

2024-06-08 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
bugged if the P_TRACED flag is set. > > debuggedB = ( (info.kp_proc.p_flag & P_TRACED) != 0 ); > } > #endif // OPT_MACOS > #endif // !defined(_HELPERTOOL_) && !_YAAF_ > #endif // DEBUG > > return d

[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 tr

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

2024-04-20 Thread Alexander Dyagilev
s is par for the course 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. *Wei

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

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 imag

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

2024-04-17 Thread Alexander Dyagilev
Image { 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 image

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: horizo

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

2024-03-23 Thread Alexander Dyagilev
lower expected 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

[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 wid

[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. Is

[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 me

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 Q(Co

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 to

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

2023-10-23 Thread Alexander Dyagilev
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 wrot

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 m

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] 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: http://www.spy-hill.com/help/apple/SharedMemory

[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 mailing

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

2023-06-19 Thread Alexander Dyagilev
prior Qt 6, if that's a bug 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 In

[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 https://lists.

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

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

2023-06-12 Thread Alexander Dyagilev
enum (e.g. 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

[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 rebuil

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 there is

[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 reason.

[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 by

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 Interest@qt-project.or

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 apps'

[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: https://bugreports.qt.io/brow

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 libra

[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
installed 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:* i

[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 any

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?

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 cras

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 worki

[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@qt-projec

[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::H

Re: [Interest] QTcpServer::setProxy meaning?

2023-02-27 Thread Alexander Dyagilev
ons only (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 e

[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&drop 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 a

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 10

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/b

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 wo

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

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

Re: [Interest] Android: debugger not working

2022-12-08 Thread Alexander Dyagilev
lopment environment? 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] And

Re: [Interest] Android: debugger not working

2022-12-07 Thread Alexander Dyagilev
tunately I 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 configu

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 configur

[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 https://lists.qt-project.

[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/an

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,

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

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\Andro

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,

[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: CreateProcess(NULL,

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 bu

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 usi

[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 5.12

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 QDBusTra

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 is e

[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 displaye

  1   2   3   4   5   >