Re: [Interest] Qt6 on Ubuntu 22

2022-12-29 Thread Thiago Macieira
On Thursday, 29 December 2022 16:04:02 -03 Nuno Santos wrote: > qrc:/test/main.qml: module "QtQml.WorkerScript" is not installed You didn't install the WorkerScript component from qtdeclarative. -- Thiago Macieira - thiago.macieira (AT) intel.com Cloud Software Architect - Intel DCAI Cloud Eng

Re: [Interest] Qt6 on Ubuntu 22

2022-12-29 Thread Nuno Santos
Thiago, Yes, that was the problem. I have new one though… 19:00:54: Starting /home/nsantos/workspace/build-test-Desktop-Debug/apptest... QML debugging is enabled. Only use this in a safe environment. Warning: Ignoring WAYLAND_DISPLAY on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway

Re: [Interest] Qt6 on Ubuntu 22

2022-12-29 Thread Thiago Macieira
On Thursday, 29 December 2022 11:31:15 -03 Nuno Santos wrote: > [ 66%] Building CXX object > CMakeFiles/appqt6-test.dir/appqt6-test_qmltyperegistrations.cpp.o > /home/nsantos/workspace/build-qt6-test-Desktop-Debug/appqt6-test_qmltypereg > istrations.cpp:17:23: error: variable has incomplete type 'v

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

2022-12-29 Thread Cristian Adam via Interest
Hi Nuno, The error message says that there is no CMAKE_CXX_COMPILER specified. Your CMake command has only -S and -B parameters. This means that you already have configured the project with an invalid CMAKE_CXX_COMPILER parameter. Delete your build directory and try again or click on "Re-co

Re: [Interest] Qt6 on Ubuntu 22

2022-12-29 Thread Nuno Santos
Hi, Thanks you both for your replies. It worked. I also had to install libgl1-mesa-dev otherwise QtGui couldn’t be found. I have an another problem though. A simple qt quick project does not compile with the following error: 11:30:34: Running steps for project qt6-test... 11:30:34: Starting: "

Re: [Interest] Qt6 on Ubuntu 22

2022-12-29 Thread Andreas Cord-Landwehr
Hi Nuno, just install qt6-declarative-dev, which should provide all CMake configs also for QtQuick and QtQuickControls. Cheers, Andreas On Donnerstag, 29. Dezember 2022 11:44:57 CET Nuno Santos wrote: > Hi, > > I’m trying to install and run Qt projects on Linux Ubuntu 22 > > I’ve used apt to i

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 from inside the MSVC Comman

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

2022-12-29 Thread Thiago Macieira
On Thursday, 29 December 2022 07:55:52 -03 Nuno Santos wrote: > -- The CXX compiler identification is unknown Did you run this from inside the MSVC Command Prompt, where the vcvarsall.bat script was previously run to set the environment up? -- Thiago Macieira - thiago.macieira (AT) intel.com

Re: [Interest] Thread-To-CPU-Core distribution

2022-12-29 Thread Thiago Macieira
On Thursday, 29 December 2022 07:59:28 -03 coroberti wrote: > Additionally, to decrease the jitter and get more attention to your threads, > you may try running as a root and switch to SCHED_FIFO priority and assign > high priority there. > > https://github.com/ianohara/linux-rt-examples/blob/mast

Re: [Interest] Thread-To-CPU-Core distribution

2022-12-29 Thread coroberti
On Thu, Dec 29, 2022 at 1:45 AM Alexander Carôt wrote: > > Hej Konrad, > > >>I can't hold back my curiosity, so I've got to ask: why? Why would you > >>do that? Why do you assume you know better than the operating system? > > I totally understand the question and agree to anything else you state i

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

[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