[Interest] Scene Graph - Graph example background noise not appearing when OpenGL backend is used

2024-05-18 Thread Nuno Santos via Interest
Hi, I’m taking as an example the Qt Scene Graph - Graph in order to pass a texture to a custom material. However, if I use OpenGL as graphical backend by setting QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL), the noise texture in the background does not appear. Is this example

Re: [Interest] Porting Qt5 OpenGL app to Qt6 - QQuickRenderTarget and OpenGL frame buffer object

2024-05-15 Thread Nuno Santos via Interest
E_2D, > texture, 0); > glReadPixels(...); > glBindFramebuffer(GL_FRAMEBUFFER, context->defaultFramebufferObject()); > glDeleteFramebuffers(1, ); > > Best regards, > Laszlo > > From: Nuno Santos <mailto:nuno.san...@imaginando.pt>> > Sent: Wednesday, May 15, 2024 4:29 P

Re: [Interest] Porting Qt5 OpenGL app to Qt6 - QQuickRenderTarget and OpenGL frame buffer object

2024-05-15 Thread Nuno Santos via Interest
rds, > Laszlo > > From: Interest on behalf of Nuno Santos via > Interest > Sent: Tuesday, April 16, 2024 4:21 PM > To: interestqt-project. org > Subject: [Interest] Porting Qt5 OpenGL app to Qt6 - QQuickRenderTarget and > OpenGL frame buffer object > > Hi, > > I

Re: [Interest] Is it possible to compile a shader in runtime using qsb?

2024-05-11 Thread Nuno Santos via Interest
t > declared in QML, there is no API to achieve that since its vertexShader and > fragmentShader properties only consume (.qsb) file URLs. > > Best regards, > Laszlo > > From: Interest on behalf of Nuno Santos via > Interest > Sent: Tuesday, May 7, 2024 11:28 AM >

Re: [Interest] Porting Qt5 OpenGL app to Qt6 - QQuickRenderTarget and OpenGL frame buffer object

2024-05-08 Thread Nuno Santos via Interest
ject. (actually that FBO is not useful in Qt 6 as one will be created > internally as needed) > > Best regards, > Laszlo > > From: Interest on behalf of Nuno Santos via > Interest > Sent: Tuesday, April 16, 2024 4:21 PM > To: interestqt-project. org

Re: [Interest] Qt 6.7: How to set the blend equation when doing blend on updateGraphicsPipelineState?

2024-05-08 Thread Nuno Santos via Interest
egards, > Laszlo > > From: Interest on behalf of Nuno Santos via > Interest > Sent: Monday, May 6, 2024 7:21 PM > To: interestqt-project. org > Subject: [Interest] Qt 6.7: How to set the blend equation when doing blend on > updateGraphicsPipelineState? > > Hi

[Interest] Is it possible to compile a shader in runtime using qsb?

2024-05-07 Thread Nuno Santos via Interest
Hi, I’m wondering if it is possible to run qsb to compile a shader in run time on iOS. I’m using QProcess to call qbs in order to compile in run time but since QProcess does not exist on iOS, I wonder how can I achieve the same result? Thanks! Regards, Nuno

[Interest] Qt 6.7: How to set the blend equation when doing blend on updateGraphicsPipelineState?

2024-05-06 Thread Nuno Santos via Interest
Hi, I’m porting an app from Qt 5.15 to Qt 6.7 but I’m stumbling on the fact that there is no equivalent to blend equation in OpenGL. Note: At the time being, I’m still using OpenGL as graphics backend to minimise the already huge ongoing port. To achieve blending mode between nodes, I was

[Interest] How to make use of CONFIG+=sanitizer CONFIG+=sanitize_thread

2024-04-20 Thread Nuno Santos via Interest
Hi, I’m trying to take advantage of the sanitizer functionality, but how does one take adavantage of it? I’ve compiled Qt from source with "-sanitize thread” And I’ve read that in qmake I need to add "CONFIG+=sanitizer CONFIG+=sanitize_thread” But can I take advantage of this? How do I know

Re: [Interest] Outdated documentation detail

2024-04-19 Thread Nuno Santos via Interest
> Just FYI, the more reliable process for also documentation bugs is to go to > https://bugreports.qt.io <https://bugreports.qt.io/>, and file a bug for the > 'Documentation' component. > > Regards > > Kai > From: Interest on behalf of Nuno Santos via > Interest &

[Interest] What is the most efficient and performant way of rendering a QVideoSink to a Scene Graph node using Qt 6?

2024-04-17 Thread Nuno Santos via Interest
Hi, I’m looking to render a video into a custom scene graph node. I want to have all the source handling on the C++ side and inject the video frames into a custom scene graph node. I can obtain the frames from QVideoSink and now I’m wondering how is the most performant way of copying it to a

[Interest] Outdated documentation detail

2024-04-17 Thread Nuno Santos via Interest
Hi, I just wanted to share that the following documentation is outdated: https://doc.qt.io/qt-6/qtquick-scenegraph-metaltextureimport-example.html It makes references to QQuickWindow::createTextureFromNativeObject() but this method is now found under:

[Interest] Porting Qt5 OpenGL app to Qt6 - QQuickRenderTarget and OpenGL frame buffer object

2024-04-16 Thread Nuno Santos via Interest
Hi, I have an application that was heavily written on top of OpenGL. Right now I want to port it to Qt 6 with the minimum effort trying to stick to the OpenGL backend until I get the grip on the new things of Qt 6 Graphics API abstraction. I used to do this in order to assign a target FBO to a

[Interest] Crash on Qt iOS - NSUndoStack popAndInvoke (NSUndoManager.m:1714)

2024-03-15 Thread Nuno Santos via Interest
Hi, I have been having this stack trace related with undo manager. It is very particular to one single tester. Is anyone having similar problems? Thread 0 name: Thread 0 Crashed: 0 libobjc.A.dylib 0x00019d454820 objc_msgSend + 32 1 Foundation

Re: [Interest] Is it possible to have a thread running in a Qt iOS app when the app is put in background?

2024-02-19 Thread Nuno Santos via Interest
on/backgroundtasks?language=objc > though. > > Cheers, > Tor Arne > >> On 19 Feb 2024, at 11:39, Nuno Santos via Interest >> wrote: >> >> Hi, >> >> I have a music making app that allows to export the full song. This is an >> asynchronous

[Interest] Is it possible to have a thread running in a Qt iOS app when the app is put in background?

2024-02-19 Thread Nuno Santos via Interest
Hi, I have a music making app that allows to export the full song. This is an asynchronous process that can take several minutes and the user can start an export and decide to put the app in background in the mean time. At the time being, if he does this, the app will crash. Is it possible

[Interest] Is anyone here using Qt to develop audio plugins and is having issues with Steinberg's Cubase 13?

2024-02-15 Thread Nuno Santos via Interest
Hi, Is anyone here developing audio plugins with Qt? We have been doing this since 2015 without any issues. Last year, Steinberg released Cubase 13 and all our plugins freeze when instantiated, Qt 5 or Qt 6 based, it does not matter. This problem happens on Windows only. We believe the

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-09 Thread Nuno Santos via Interest
Alexandru, Thanks for the additional info and for investigating further Best regards, Nuno > On 9 Feb 2024, at 10:48, Alexandru Croitor wrote: > > Hi, replying inline. > >> On 9. Feb 2024, at 11:05, Nuno Santos wrote: >> >> Alexandru, >> >&

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-09 Thread Nuno Santos via Interest
> On 9 Feb 2024, at 10:05, Nuno Santos wrote: > > Alexandru, > > Same problem > > ➜ 6.5.4 git clone > "ssh://sinosoi...@codereview.qt-project.org:29418/qt/tqtc-qt5" > Cloning into 'tqtc-qt5'... > remote: Counting objects: 189, done > remote: Finding

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-09 Thread Nuno Santos via Interest
rks for you, to figure out whether this is > a general issue, or an issue with the state of your pre-existing checkout? > > Also please show the output of running 'git rev-parse HEAD' in your > pre-existing qt5compat directory and in your tqtc-qt5 directory. > > >> On 9. Fe

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-09 Thread Nuno Santos via Interest
git:(v6.5.4-lts) ✗ cat .gitmodules | grep qt5compat [submodule "qt5compat"] path = qt5compat url = ../tqtc-qt5compat.git alias = qt/qt5compat Any ideas? Best, Nuno > On 9 Feb 2024, at 00:37, Thiago Macieira wrote: > > On Thursday, 8 February 202

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-08 Thread Nuno Santos via Interest
Thiago, I could try to see if that is an option that works. One question. I’m not interested in all the modules. Just some of them. If I do that I will unit all the modules and therefore the build will contain them all right? Thanks, -- Nuno Santos > No dia 08/02/2024, às 20:31, Thi

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-08 Thread Nuno Santos via Interest
Thiago, Thanks for your reply. From the repository, the lts one. -- Nuno Santos > No dia 08/02/2024, às 16:53, Thiago Macieira > escreveu: > > On Tuesday, 6 February 2024 07:02:11 PST Nuno Santos via Interest wrote: >> While trying to build Qt 6 from source I’m havin

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-08 Thread Nuno Santos via Interest
gt; Not sure how Qt handles this, but whenever I ran into similar issues with git > submodules, a > > git submodule sync --recursive > > on the top level solved it. > > Background: The submodules' remote repository may have changed in > .gitmodules, but the submodule itself still

Re: [Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-06 Thread Nuno Santos via Interest
It seems that the same happens for qtshadertools: fatal: Unable to find current revision in submodule path ‘qtshadertools' > On 6 Feb 2024, at 15:02, Nuno Santos wrote: > > Hi, > > While trying to build Qt 6 from source I’m having this error while > initialising the n

[Interest] Qt 6.5.4-LTS from source -> fatal: Unable to find current revision in submodule path 'qt5compat'

2024-02-06 Thread Nuno Santos via Interest
Hi, While trying to build Qt 6 from source I’m having this error while initialising the necessary modulates with the following line: ➜ tqtc-qt5 git:(v6.5.4-lts) perl init-repository --module-subset=qt5compat,qtbase,qtdeclarative,qtimageformats,qtmultimedia,qtshadertools,qtsvg,qtwebsockets

[Interest] Potential causes and debugging tools or techniques for freezes between main thread and render thread

2024-01-30 Thread Nuno Santos
Hi, I’m having a very specific and particular problem. I won’t say it is not bad programming on my side but this is are very rare and random issues that usually manifest in the iOS version of an app. Sometimes the application freezes, probably a deadlock, when the main thread triggers an

[Interest] Is there a way of having a global signal spy?

2023-12-20 Thread Nuno Santos
Hi, Sometimes I feel myself in the dark regarding signals being emitted. Sometimes because of refactors and things that change, signals are being emitted and we are not aware of. Is there any way of easily making all the emitted signals being traced on the console when a Qt app is running?

[Interest] As anyone here extended or used MultiPointHandler?

2023-11-24 Thread Nuno Santos
Hi, I need a MultPointHanlder. It appears as an abstract class on Qt documentation: https://doc.qt.io/qt-6/qml-qtquick-multipointhandler.html I cannot find an example on how to extend it or use. Simply exposing it to Qml does not even seem to trigger onGrabChanged. Looking at PinchHandler and

[Interest] Preventing MultiPointTouchArea interactions to pass through to Flickable

2023-11-23 Thread Nuno Santos
Hi, I’m handling touch interaction on some custom knobs with MultiPointTouchArea. The problem is when I try to interact with this elements when they are contained in a Flickable. Depending on the orientation of the flickable and the interaction, the flickable moves as well. Is there anyway to

Re: [Interest] Building a Qt app with target SDK 33 on Android with the latest Qt Creator 11.0.3

2023-11-21 Thread Nuno Santos
21 Nov 2023, at 10:07, ekke wrote: > > In QtCreator, Build Android APK > can you select Android Build Platform SDK: android-33 > and Android Build-tools version 33.0.2 ? > > are you building with QMake or CMake, for Qt 5.15 or 6.6 ? > > Am 21.11.23 um 10:25 schrieb Nun

[Interest] Building a Qt app with target SDK 33 on Android with the latest Qt Creator 11.0.3

2023-11-21 Thread Nuno Santos
Hi, I’m having issues in build an app targeting SDK 33 with Qt Creator. No matter what I do I have always end up with a build targeting SDK 31. I’m using the latest Qt Creator 11.0.3 Does anyone knows how to work this around? Thanks! Regards, Nuno

Re: [Interest] QJsonObject memory leak?

2023-11-02 Thread Nuno Santos
! Best, -- Nuno Santos > No dia 02/11/2023, às 21:52, Thiago Macieira > escreveu: > > On Thursday, 2 November 2023 11:54:25 PDT Nuno Santos wrote: >> Thiago, >> >> So, there is no way of recovering that memory back until the process is >> closed? > &g

Re: [Interest] QJsonObject memory leak?

2023-11-02 Thread Nuno Santos
Thiago, So, there is no way of recovering that memory back until the process is closed? Thanks! Nuno > On 2 Nov 2023, at 18:29, Thiago Macieira wrote: > > On Thursday, 2 November 2023 08:51:43 PDT Nuno Santos wrote: >> Any ideas of what is happening here? > >

Re: [Interest] QJsonObject memory leak?

2023-11-02 Thread Nuno Santos
Elvis,The test follows attached.Best,Nuno<> On 2 Nov 2023, at 16:28, Elvis Stansvik wrote:Can you create a standalone example? (I see no calls to your create/uncreate)How are you measuring memory consumption?ElvisDen tors 2 nov. 2023 16:52Nuno Santos skrev:Hi,I have

[Interest] QJsonObject memory leak?

2023-11-02 Thread Nuno Santos
Hi, I have realised that I cannot release all the memory allocated by a huge QJsonObject when I don’t need it any more. To ensure that nothing else was in between I have created a simple program that does what is below. Conclusion: - Running on a Mac, compiled in release with Qt 6.5.3 -

[Interest] Strategies to debug and improve UI performance (QML)

2023-10-23 Thread Nuno Santos
Hi, I want to perform a UI optimisation. I would like to know how many items are being instantiated, and who is taking more time to load, etc Are there ENV variables and tools that could help in this task? I would love to hear your thoughts. Best regards, Nuno

[Interest] How to draw lines with glow with Qt Quick Scene Graph (custom vertex and material)

2023-06-13 Thread Nuno Santos
Hi, Can anyone point me to some example or tutorial on how to make a custom material to draw a lines with scene graph using a custom vertex shader in order to achieve the glow effect? I’ve been drawing graphics with Scene Graph but they always look very anti aliased and have that raw and

[Interest] Hard time with random qml crash on Mac OS

2023-05-05 Thread Nuno Santos
Hi, I’m having an hard time figuring out what is causing a random crash on Qml. Is this stack trace familiar to anyone? Thanks! Best regards, Nuno Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 QtCore 0x10b9d6d58

Re: [Interest] Qt 6.5 - The current style does not support customization of this control

2023-04-20 Thread Nuno Santos
Hi Mitch, Thanks for your reply and for the useful insight. I will give it a shot. Best regards, Nuno > On 20 Apr 2023, at 02:30, EXT Mitch Curtis wrote: > > Hi, > >> -Original Message- >> From: Interest > <mailto:interest-boun...@qt-project.org>&

[Interest] Qt 6.5 - The current style does not support customization of this control

2023-04-19 Thread Nuno Santos
Hi, Yesterday I have installed Qt 6.5 to give it a try. I’m having a lot of this warnings on my customised version of ComboBox. I have already checked the documentation and I still don’t understand what are causing them qrc:/qml/UIComboBox.qml:50:17: QML Rectangle: The current style does not

Re: [Interest] Cannot drag a Pane in Qml even on Qt 6.X

2023-03-06 Thread Nuno Santos
Mitch, Thank you very much for the clarification. Best regards, Nuno > On 7 Mar 2023, at 00:28, EXT Mitch Curtis wrote: > >> -Original Message- >> From: Interest > <mailto:interest-boun...@qt-project.org>> On Behalf Of Nuno >> Santos >> Se

[Interest] Cannot drag a Pane in Qml even on Qt 6.X

2023-03-06 Thread Nuno Santos
Hi, It was not possible to drag a Pane on Qt 5.X But I was almost convinced it was possible to do it on Qt 6.X But now I have tried again and it seems it is not possible. Or maybe I’m doing something wrong. Is there any strong reason a Pane cannot be draggable? Thanks! Nuno import QtQuick

Re: [Interest] QtCreator - CMAKE_PREFIX_PATH with multiple paths

2023-02-09 Thread Nuno Santos
a package configuration file provided by "Qt6", but CMake did not find one. Thank you! Nuno > On 9 Feb 2023, at 15:35, Cristian Adam wrote: > > > > On 02/09/2023 16:29, Nuno Santos wrote: >> Hi, >> >> Is anyone able to tell me if QtCreator is able

[Interest] QtCreator - CMAKE_PREFIX_PATH with multiple paths

2023-02-09 Thread Nuno Santos
Hi, Is anyone able to tell me if QtCreator is able to have a CMAKE var defined with multiple values? The default value for a project is %{Qt:QT_INSTALL_PREFIX}, is it possible to append more paths? How? Thanks! Nuno ___ Interest mailing list

Re: [Interest] Tweaking a static build of Qt 6 for Windows

2023-02-01 Thread Nuno Santos
With -static, use static runtime [no] (Windows only) > benchmarks, manual-tests, minimal-static-tests) > > Make sure you pass both -static and -static-runtime to your Qt configuration. > -static-runtime will get you /MT for cl.exe > > Cheers, > Cristian. > > Fro

Re: [Interest] Tweaking a static build of Qt 6 for Windows

2023-01-30 Thread Nuno Santos
> On 26 Jan 2023, at 23:52, Thiago Macieira wrote: > > On Thursday, 26 January 2023 07:52:38 PST Nuno Santos wrote: >> When building Qt 6, is this the same place for this type of settings or the >> fact that the build is managed by cmake this files are ignored and others >>

[Interest] Tweaking a static build of Qt 6 for Windows

2023-01-26 Thread Nuno Santos
Hi, When I used to compile Qt 5 statically for Windows I would usually need to tweak a couple of settings under: qtbase/mkspecs/common/msvc_desktop.conf QMAKE_CFLAGS_RELEASE = -O2 -MT -Zc:strictStrings QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += -O2 -MT -Zi -Zc:strictStrings QMAKE_CFLAGS_DEBUG =

Re: [Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-20 Thread Nuno Santos
not make sense that this is not supported. Thank you! Best regards, Nuno > On 20 Jan 2023, at 10:00, coroberti wrote: > > On Mon, Jan 16, 2023 at 10:07 AM Nuno Santos <mailto:nuno.san...@imaginando.pt>> wrote: >> >> Good morning Ulf, >> >> Ok, s

Re: [Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-16 Thread Nuno Santos
Good morning Ulf, Ok, so this this the news Qt 6 / CMake approach to things and we can’t avoid it right? However, as it is, its buggy. I will upload my last week example to https://bugreports.qt.io/browse/QTBUG-110110 Because I’ve been

[Interest] Porting a previous qmake approach to cmake

2023-01-13 Thread Nuno Santos
Ulf,Still related with the issue https://bugreports.qt.io/browse/QTBUG-110110What I’m really trying to achieve here follows attached in a very minimal example.For our applications we have a shared ground which would compile as a static lib without any requirement of a plugin. This lib is full of

Re: [Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-12 Thread Nuno Santos
Thiago, Ulf, I focus on the practical side of things because I can’t simply know everything. With qmake I only had to do this: TEMPLATE = lib CONFIG += staticlib RESOURCES += $$PWD/resources/resources.qrc And all the resources listed in the .qrc file would be available in the final lib. This

Re: [Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-12 Thread Nuno Santos
Ulf, What version of Qt are you using? I’ve also tried with 6.4.2 before creating the bug report. Same problem! Here is the link -> https://bugreports.qt.io/browse/QTBUG-110110 Thank you! Regards, Nuno > On 12 Jan 2023, at 09:30, Ulf Hermann wrote: > > It works fine here. Please file a

Re: [Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-12 Thread Nuno Santos
ule on main.qml, it's not found and the plugin is being registered on main.cpp via #include Q_IMPORT_QML_PLUGIN(ExtraModulePlugin)What am I missing here? Project attached.Regards,Nuno<> On 12 Jan 2023, at 08:45, Nuno Santos wrote:Ulf,On 12 Jan 2023, at 08:36, Ulf Hermann wrote:If you sta

Re: [Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-12 Thread Nuno Santos
Ulf, > On 12 Jan 2023, at 08:36, Ulf Hermann wrote: > > If you state STATIC in qt_add_qml_module (without a qt_add_library or similar > that makes it dynamic) and then it builds a dynamic library, that's a bug. > Please file a report at https://bugreports.qt-project.org with a minimal >

Re: [Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-11 Thread Nuno Santos
{SVG_FILES}) But in the end, the only file that contains qInitResources is: libshared.dylib But I want it to be libshared.a What am I missing? Thanks! Best, Nuno > On 11 Jan 2023, at 16:19, Nuno Santos wrote: > > Ulf, > > Thanks for your reply. So that you better understand my

Re: [Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-11 Thread Nuno Santos
Ulf, Thanks for your reply. So that you better understand my problem this is what I have shared CMakeList.txt project CMakeList.txt common CMakeList.txt In order to build project I need shared and common. When in debug I don’t want to build shared and

[Interest] What is the right way of creating a static lib that has qml resources with cmake?

2023-01-11 Thread Nuno Santos
Hi, I’m trying to port a project from qmake to cmake. The project typically consists in a shared library, common to all apps, a common library, common to a specific and its variants. I still have doubts on how to create this shared static library with the qml resources built in.

Re: [Interest] Qt6 - Fails to compile when openssl-linked enabled

2023-01-09 Thread Nuno Santos
Qt and all other dependencies must also be built this way > (-static-runtime for Qt). > You can also define your own triplet with dynamic lining of the VC runtime, > but I’m not familiar with the process. > Mårten > From: Nuno Santos > Sent: fredag 6. januar 2023 19:04 > T

Re: [Interest] Qt6 - Fails to compile when openssl-linked enabled

2023-01-06 Thread Nuno Santos
_feature_module_end) qtbase/src/CMakeLists.txt:9 (qt_feature_evaluate_features) Trying to build without this, worked perfectly. What am I missing here? Thanks! Nuno > On 8 Dec 2022, at 15:04, Nuno Santos wrote: > > Marten, > > I’ve noticed the nuance yesterday and tried but there was

Re: [Interest] Qt6 fails to compile on linux Ubuntu 22.04

2023-01-06 Thread Nuno Santos
blgen" references the file "/usr/lib/llvm-15/bin/mlir-tblgen” The file does not exist indeed. Any ideas? Thanks! Regards, Nuno > On 5 Jan 2023, at 21:06, Thiago Macieira wrote: > > On Thursday, 5 January 2023 13:24:34 -03 Nuno Santos wrote: &g

[Interest] Qt6 fails to compile on linux Ubuntu 22.04

2023-01-05 Thread Nuno Santos
Hi, I’m trying to compile Qt 6.4.1 on Linux from source but I’m having the following error: /usr/bin/ld: qtbase/lib/libQt6XcbQpa.a(qxcbkeyboard.cpp.o): in function `QXcbKeyboard::possibleKeys(QKeyEvent const*) const': qxcbkeyboard.cpp:(.text._ZNK12QXcbKeyboard12possibleKeysEPK9QKeyEvent+0x2e):

[Interest] Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported`

2023-01-02 Thread Nuno Santos
Hi, Has anyone gone recently through this problem when setting up an higher api level? What’s the fastest approach to solve it when dealing with a Qt app? Thanks! Regards, Nuno ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Qt 6 and Windows with MSVC 2019

2022-12-30 Thread Nuno Santos
gs. Qt Creator should issue a > CMake command with a -D CMAKE_CXX_COMPILER parameter. > > If the CMAKE_CXX_COMPILER parameter is empty, then you have to check your > Kit's compiler settings, fix the issue and try again. > > Cheers, > Cristian. > > From: Interes

Re: [Interest] Qt6 on Ubuntu 22

2022-12-29 Thread Nuno Santos
er-all Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. nsantos@nuno-ubuntu:/usr/lib/x86_64-linux-gnu/cmake/Qt6$ Any ideas? Thanks! Nuno > On 29 Dec 2022, at 17:11, Thiago Macieira wrote: > > On Thursday, 29 December 2022 11:31

Re: [Interest] Qt6 on Ubuntu 22

2022-12-29 Thread Nuno Santos
ep "Build" 11:30:40: Elapsed time: 00:05. Has anyone know the reason? Thanks! Regards, Nuno > On 29 Dec 2022, at 12:31, A. Pönitz wrote: > > On Thu, Dec 29, 2022 at 10:44:57AM +, Nuno Santos wrote: >> Hi, >> >> I’m trying to install and run Qt projec

Re: [Interest] Qt 6 and Windows with MSVC 2019

2022-12-29 Thread Nuno Santos
Thiago, Thanks for your reply. This was run inside Qt Creator. Regards, Nuno > On 29 Dec 2022, at 11:42, Thiago Macieira wrote: > > On Thursday, 29 December 2022 07:55:52 -03 Nuno Santos wrote: >> -- The CXX compiler identification is unknown > > Did you run this

[Interest] Qt 6 and Windows with MSVC 2019

2022-12-29 Thread Nuno Santos
Hi, I’m trying to experiment Qt 6 on Windows but I’m facing an issue. If I setup a test quick project using qmake, it works. However, if I choose cmake failed to find the compiler with the following cmake error: Running C:\Program Files\CMake\bin\cmake.exe -S C:/Users/sinos/workspace/qt6 -B

[Interest] Qt6 on Ubuntu 22

2022-12-29 Thread Nuno Santos
Hi, I’m trying to install and run Qt projects on Linux Ubuntu 22 I’ve used apt to install qt6-base-dev, qtcreator and libqt6quick6 packages. But when I run Qt Creator and try a test project it always fails to find QtQuick packages: Running /usr/bin/cmake -S /home/nsantos/workspace/qt6-test -B

Re: [Interest] Qml Linting Error - Warnings occurred while importing module "QtQuick.Controls":

2022-12-19 Thread Nuno Santos
Ulf, Thanks for your reply. I will try again. There will be more questions for sure. Will there be a 2022 version of the following video? https://www.youtube.com/watch?v=4ji6D6UpA54 Best regards, Nuno > On 19 Dec 2022, at 18:43, Ulf Hermann

[Interest] Qml Linting Error - Warnings occurred while importing module "QtQuick.Controls":

2022-12-19 Thread Nuno Santos
Hi, I’m trying to take advantage of the new Qml Linting Tools provided by the Qt Quick Compiler Extensions (TP) to enhance the qml code and thus improve its performance. This is all new to me and sometimes I’m faced with errors that does not seem error nor they give problems when actually

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

2022-12-18 Thread Nuno Santos
and reasons, we are just asking more time for that move to be done, so that all other general bugs and improvements are still safe to run on systems like Catalina. Just sharing my concern and personal experience. Best regards, -- Nuno Santos > No dia 18/12/2022, às 06:32, coroberti escre

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

2022-12-16 Thread Nuno Santos
! Best regards, Nuno Santos Founder / CEO / CTO www.imaginando.pt > On 16 Dec 2022, at 12:20, coroberti wrote: > > Hi, > Since Qt 6.5 drops Mac OS 10.15 Catalina, > it apparently starts to be irrelevant for at least 95% of Mac Desktops. > > https://gs.statcounter.com/macos

Re: [Interest] qmake to cmake - error: redefinition of 'unit' const QQmlPrivate::CachedQmlUnit unit

2022-12-15 Thread Nuno Santos
Ulf, I found the culprit. I was indeed doing a duplicated import of my qml.cmake file, which was adding each qml twice to the compilation. Thanks for the heads up. Best regards, Nuno > On 15 Dec 2022, at 12:21, Ulf Hermann via Interest > wrote: > >> list(APPEND QML_FILES >>

Re: [Interest] qmake to cmake - error: redefinition of 'unit' const QQmlPrivate::CachedQmlUnit unit

2022-12-15 Thread Nuno Santos
t; On Wednesday, 14 December 2022 16:11:10 -03 Nuno Santos wrote: >> error: redefinition of ‘unit' const QQmlPrivate::CachedQmlUnit unit > > Please paste the full error message. In particular, the compiler must have > told you where the other definition was. > > --

[Interest] qmake to cmake - error: redefinition of 'unit' const QQmlPrivate::CachedQmlUnit unit

2022-12-14 Thread Nuno Santos
Hi, I’m trying to start porting my .pro/.pri files to cmake and I’m stumbling on the following error: error: redefinition of ‘unit' const QQmlPrivate::CachedQmlUnit unit The file shared_qmlcache_loader.cpp has a the following content: namespace QmlCacheGeneratedCode { namespace

Re: [Interest] Qt 6.4.1 static - Missing some debug objects when using a static build kit?

2022-12-09 Thread Nuno Santos
ninja install in the Qt build dir or cmake --build > . --target install > > Just cmake --install . does not work. > >> On 9. Dec 2022, at 00:07, Nuno Santos wrote: >> >> Hi, >> >> I’ve built Qt 6.4.1 from the source and when compiling an existing proj

[Interest] Qt 6.4.1 static - Missing some debug objects when using a static build kit?

2022-12-08 Thread Nuno Santos
Hi, I’ve built Qt 6.4.1 from the source and when compiling an existing project in debug the following symbols are missing. However, if I build the same project in release, everything is fine, not a single error. In order to build the kit I have used the following configuration: perl

Re: [Interest] Qt6 - Fails to compile when openssl-linked enabled

2022-12-08 Thread Nuno Santos
to cmake (-D*) must be passed after a separating double dash > (--). > > So, this: > -openssl-linked -DOPENSSL_ROOT_DIR="…" > > Should be like: > -openssl-linked -- -DOPENSSL_ROOT_DIR="…" > > Mårten > > From: Nuno Santos > Sent: onsdag

Re: [Interest] Qt6 - Fails to compile when openssl-linked enabled

2022-12-07 Thread Nuno Santos
your configure line, something like this: > > ./configure -prefix …. -openssl-linked -- -DOPENSSL_ROOT_DIR="…" > > Mårten > > From: Nuno Santos > Sent: onsdag 7. desember 2022 14:01 > To: Mårten Nordheim > Cc: Qt Interest > Subject: Re: [Intere

Re: [Interest] Qt6 - Fails to compile when openssl-linked enabled

2022-12-07 Thread Nuno Santos
-Utils/openssl/include OPENSSL_LIBS="/Users/nsantos/Qt-Utils/openssl/lib/libssl.a /Users/nsantos/Qt-Utils/openssl/lib/libcrypto.a” Best, Nuno > On 7 Dec 2022, at 11:59, Mårten Nordheim wrote: > > [Reply is inline] > >> -Original Message----- >> From: N

Re: [Interest] Qt6 - Fails to compile when openssl-linked enabled

2022-12-07 Thread Nuno Santos
Mårten > >> -----Original Message- >> From: Interest On Behalf Of Nuno >> Santos >> Sent: onsdag 7. desember 2022 10:28 >> To: Qt Interest >> Subject: [Interest] Qt6 - Fails to compile when openssl-linked enabled >> >> Hi, >> >>

[Interest] Qt6 - Fails to compile when openssl-linked enabled

2022-12-07 Thread Nuno Santos
Hi, I’m trying to compile Qt 6 with openssl-linked but I’m having this error and I’m not being able to interpret it. What is failing? Can you please help me here? Thanks in advance! Regards, Nuno Configuring submodule 'qtbase' CMake Error at qtbase/cmake/QtBuildInformation.cmake:490

Re: [Interest] Qt iOS and installEventFilter

2022-11-08 Thread Nuno Santos
events to the focus object. > > The iOS platform plugin doesn’t seem to implement the filterNativeEvent > machinery. I’ve filed https://bugreports.qt.io/browse/QTBUG-108268 > <https://bugreports.qt.io/browse/QTBUG-108268> for that > > Cheers, > Tor Arne > &

[Interest] Qt iOS and installEventFilter

2022-11-08 Thread Nuno Santos
Hi, I’m trying to find a way of intercepting keyboard events in a global and cross platform way. I don’t want this to be tied to certain element in Qml. I really want to have a global way of catching the keyboard events. I have created an event filter and added this event filter to the

[Interest] Massive flickering while resizing Qt Quick application while resizing the window (Windows only)

2022-07-18 Thread Nuno Santos
Hi, I have never realised until today that there is a massive flickering when resizing a Qt Quick application window. This happens even with the minimal Qt Quick application template. When doing the resize on a complex application it looks like rubbish. There is a massive amount of flickering

[Interest] Qt Android - Targeting API 29 (Android 10): How to write to a non scoped location that is visible to the user via generic Files app?

2022-05-13 Thread Nuno Santos
Hi, I’m having an hard time figuring out how to write files from a Qt Android app, to a location that is public to the user, outside of the scoped storage. I’m currently using Qt 5.15.9 and targeting API 29 (Android 10). I have set in my manifest requestLegacyExternalStorage=true And then I

Re: [Interest] QtQuick on desktop cannot select from available GPUs.

2022-05-06 Thread Nuno Santos
Hi, I don’t think you will ever be able to do it from Qt. I might be wrong though…. On Windows, you need to use Windows to set that preference: https://www.itechtics.com/use-specific-gpu/ There is another possible way which is setting a piece of

Re: [Interest] QtCreator >= 6 - Problems using code indentation shift with tab key

2022-04-15 Thread Nuno Santos
Cool! Thanks! Just up voted it. Best, Nuno > On 15 Apr 2022, at 14:42, Sze Howe Koh wrote: > > On Fri, 15 Apr 2022 at 15:02, André Pönitz wrote: >> >> On Fri, Apr 15, 2022 at 06:28:34AM +0100, Nuno Santos wrote: >>> Kevin, >>> >>> Thanks f

Re: [Interest] QtCreator >= 6 - Problems using code indentation shift with tab key

2022-04-14 Thread Nuno Santos
Kevin, Thanks for your feedback. Is anyone from the Qt Creator team around and aware of this? Is this a new setting? A bug? A feature? Should we open bug report? Thanks! Nuno > On 14 Apr 2022, at 23:14, Kevin André wrote: > > Hi, > > Op wo 13 apr. 2022 om 17:26 schr

[Interest] QtCreator >= 6 - Problems using code indentation shift with tab key

2022-04-13 Thread Nuno Santos
Hi, Since Qt Creator 6.0 I’m unable to indent shit code with tab more than one time. After one indentation with tab, code gets deselected. This happens with shift+tab as well. Is anyone else having the same problem? Is this some kind of non default behaviour that changed? Thanks! Nuno

[Interest] Qt Creator (6/7) Project Executable Run - Failed to launch /Applications/APP_NAME.app: Permission denied

2022-04-12 Thread Nuno Santos
Hi, Since Qt Creator 6 that it seems impossible to launch an app selected as executable under project run settings. Today I have updated to Qt Creator 7 and the problems seems to persist. When I launch the project, which is a plugin that will be loaded into an application, I get: Failed to

[Interest] [Qt iOS - QTBUG-101568] Application takes several seconds to become responsive depending on the number of items in scene

2022-04-12 Thread Nuno Santos
Hi, I have a problem were all my apps take several seconds to become responsive. The more complex the app is, the more time it takes to get responsive to touch. This didn’t used to be this way. I can easily demonstrate the issue happening with a simple example, which does not happen in Windows

Re: [Interest] What is the minimum required macOS SDK to build Qt 5.15.9 with support for x86_64 and arm64?

2022-04-11 Thread Nuno Santos
Thank you Thiago! > On 11 Apr 2022, at 20:51, Thiago Macieira wrote: > > On Monday, 11 April 2022 10:42:40 PDT Nuno Santos wrote: >> My Mac build machine is still running mac OS Mojave 10.14.6 and Xcode 11.3.1 >> due to legacy requirements. > > The SDK for 11.1

[Interest] What is the minimum required macOS SDK to build Qt 5.15.9 with support for x86_64 and arm64?

2022-04-11 Thread Nuno Santos
Hi, I’m trying to build the latest Qt 5.15.9 with support for x86_64 and arm64: ./configure -confirm-license -recheck -platform macx-clang -device-option QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" -commercial -debug-and-release -static -nomake examples -nomake tests -opengl desktop

[Interest] Is there a quick way of know how many quick items are presented in a quick scene graph?

2022-03-25 Thread Nuno Santos
Hi, In order to optimize the number of items that are being instantiated within a qml interface I would like to know that number every time I run the app. Is there any env var that allows this kind of debugging? Thanks! Nuno ___ Interest mailing

Re: [Interest] Buod android minsdk

2022-02-10 Thread Nuno Santos
Phillipe, I had the same problem recently. Check qt creator project env vars. -- Nuno Santos > No dia 10/02/2022, às 19:47, maitai escreveu: > >  > Hi, > > I need to build a pure SDK/NDK30 android app. The reason for that is that > some static libs use functions not a

[Interest] Testing in-app purchases on a Qt Android app.

2022-02-02 Thread Nuno Santos
Hi, This is a bit off topic but I’m looking for advice from other Qt for Android developers on how to test in-app purchases. I had a stable purchasing experience for a long time and therefore there was no need for testing for a long time. But since Qt 5.15.8 has been released and I have

Re: [Interest] Qt Android: how to set __ANDROID_API__ ?

2022-01-31 Thread Nuno Santos
; >> >> >> >> >> Or by changing using system's environment variables. >> >> I use Qt 5.12 so I set it to ANDROID_NDK_PLATFORM=21. >> >> For Qt 6.x, the default value (if not set by environment variable) is >> ANDROID_NDK_PLATFORM=2

[Interest] Qt Android: how to set __ANDROID_API__ ?

2022-01-25 Thread Nuno Santos
Hi, I’m trying to call get_nprocs which is defined on #include But it doesn’t get included because there is a macro making it available only when __ANDROID_API__ is >= 23 Qt Creator installs by default NDK 21.3.6528147. Is this something defined at the NDK level? Or is this something we can

  1   2   3   4   5   6   7   8   9   >