Re: [Interest] QML Singleton and QTimer?

2021-05-07 Thread Jérôme Godbout
Hi,
Is your QTimer access before the QGuiApplication is created (static singleton)? 
That could explain why this complain and moving the singleton instance into the 
GuiApplcation constructor solve your problems.

What we do over here, I have a custom template method that register the 
singleton from Qml and from C++ singleton class (templated too). This keep a 
map of type and pointer to object:

typedef QMap>> SingletonMapType;
extern SingletonMapType singleton_instances_map_;

after that the C++ singleton fetch into that map and so does my Qml singleton 
register type, so I get a single instance no matter who the C++ or the Qml 
request the singleton first. It might not be ideal, but it work well. So they 
are not really a static instance but instead a version that is kept based on 
the current QQmlEngine and application. If your application only use a single 
QQmlengine (like most of them do, you can skip the first layer of the map and 
simply use the map from string to QObject. For the QString you can extract it 
from template type and T::staticMetaObject.className()

you only need a getSingleton() and a createSingleton() class to fill the 
blank. So my class are not bake with singleton, there might be an instance that 
is singleton instead (make it easier to test the class without enforcing 
singleton into it and I can still make memento and the like of those object 
without being screw to have only hard single copy.


Jérôme Godbout, B. Ing.

Software / Firmware Team Lead
O: (418) 682-3636 ext.: 114
C: (581) 777-0050
godbo...@dimonoff.com
[signature_75730]
dimonoff.com
1015 Avenue Wilfrid-Pelletier,
Québec, QC G1W 0C4, 4e étage


From: Jason H 
Date: Friday, May 7, 2021 at 10:10 AM
To: Jérôme Godbout 
Cc: interestqt-project.org 
Subject: Re: [Interest] QML Singleton and QTimer?
Well, the documentation gives the example of the singleton being instantiated 
at the main.cpp:main() level.

It felt a little wrong, but I subclassed QGuiApplication, and created and 
registered the singleton there:

GuiApplication::GuiApplication(int argc, char*argv[]):

QGuiApplication::QGuiApplication(argc, argv)

{

m_hardwareInterface = new HardwareInterface;

qmlRegisterSingletonInstance("com.company", 1, 0, "HardwareInterface", 
m_hardwareInterface);

}

This seems to work, but seemed unnatural.






Sent: Thursday, May 06, 2021 at 5:42 PM
From: "Jérôme Godbout" 
To: "Jason H" , "interestqt-project.org" 

Subject: Re: [Interest] QML Singleton and QTimer?
You can check the thread affinity of an object and the current thread that will 
display the problem you encounter. Use a queued signal into the QTimer thread 
to sent the start (it will be delayed until the thread process the event, 
hopefully you do no need precision there).

Jérôme Godbout, B. Ing.

Software / Firmware Team Lead
O: (418) 682-3636 ext.: 114
C: (581) 777-0050
godbo...@dimonoff.com
[signature_93124102]
dimonoff.com
1015 Avenue Wilfrid-Pelletier,
Québec, QC G1W 0C4, 4e étage


From: Interest  on behalf of Jason H 

Date: Thursday, May 6, 2021 at 5:34 PM
To: interestqt-project.org 
Subject: [Interest] QML Singleton and QTimer?
I'm trying to have a simple singleton class, but it doesn't appear that I can 
use timers?


HardwareInterface::HardwareInterface(QObject *parent) : QObject(parent)
{
m_timer = new QTimer(this);

connect(m_timer, ::timeout, this, [=](){
qDebug() << Q_FUNC_INFO;
});

m_timer->start(100); // QObject::startTimer: Timers can only be used 
with threads started with QThread

}

main.cpp: int main() {
...
qmlRegisterSingletonInstance("com.company.example", 1, 0, "HardwareInterface", 
);
...

How do we go about using timers in singletons?

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] QML Singleton and QTimer?

2021-05-07 Thread Jason H
Well, the documentation gives the example of the singleton being instantiated at the main.cpp:main() level.

 

It felt a little wrong, but I subclassed QGuiApplication, and created and registered the singleton there:


GuiApplication::GuiApplication(int argc, char*argv[]):
	QGuiApplication::QGuiApplication(argc, argv)
{
	m_hardwareInterface = new HardwareInterface;
	qmlRegisterSingletonInstance("com.company", 1, 0, "HardwareInterface", m_hardwareInterface);
}

 

This seems to work, but seemed unnatural.

 


 

 

 

 
 

Sent: Thursday, May 06, 2021 at 5:42 PM
From: "Jérôme Godbout" 
To: "Jason H" , "interestqt-project.org" 
Subject: Re: [Interest] QML Singleton and QTimer?




You can check the thread affinity of an object and the current thread that will display the problem you encounter. Use a queued signal into the QTimer thread to sent the start (it will be delayed until the thread process the event, hopefully you do no need precision there).

 



Jérôme Godbout, B. Ing.


Software / Firmware Team Lead
O: (418) 682-3636 ext.: 114  

C: (581) 777-0050 
godbo...@dimonoff.com



dimonoff.com

1015 Avenue Wilfrid-Pelletier, 

Québec, QC G1W 0C4, 4e étage



 

 


From: Interest  on behalf of Jason H 
Date: Thursday, May 6, 2021 at 5:34 PM
To: interestqt-project.org 
Subject: [Interest] QML Singleton and QTimer?



I'm trying to have a simple singleton class, but it doesn't appear that I can use timers?


HardwareInterface::HardwareInterface(QObject *parent) : QObject(parent)
{
    m_timer = new QTimer(this);

    connect(m_timer, ::timeout, this, [=](){
    qDebug() << Q_FUNC_INFO;
    });

    m_timer->start(100); // QObject::startTimer: Timers can only be used with threads started with QThread

}

main.cpp: int main() {
...
qmlRegisterSingletonInstance("com.company.example", 1, 0, "HardwareInterface", );
...

How do we go about using timers in singletons?

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest






___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] QClipboard - wasm

2021-05-07 Thread David Skoland
Hi,

That does sound like a bug. You should report it on https://bugreports.qt.io/ 
with a minimal example if you haven’t already.

On 7 May 2021, at 02:21, Nicholas Yue 
mailto:yue.nicho...@gmail.com>> wrote:

Hi,

  I have build a Qt app on Ubuntu which I am able to set the clipboard text


qclip->setText(validate_commit_message_plaintext);


  I then proceeded to build a WASM equivalent but found that the clipboard does 
not get the setText() update.


  I had a read of the article https://wiki.qt.io/Qt_for_WebAssembly


  I am hosting the example on an HTTPS server and connecting it via Chrome and 
Firefox, both of which the clipboard does not get the updates.


  Any suggestions?


Cheers

--
Nicholas Yue
Graphics - Arnold, Alembic, RenderMan, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue
https://vimeo.com/channels/naiadtools
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread Michael Jackson
For our application we grabbed the Qt 5.15 build script that Kitware used for 
universal binary CMake and used that to build Qt 5.15.2 on our M1 mac and have 
been using that for some beta testers. So far no one has complained about M1 
specific issues. We also did *NOT* build all of Qt5, just the parts that we 
needed. Build script below.


=
#!/usr/bin/env bash

# Run this script on a macOS x86_64 host to generate Qt universal binaries.
#
# This script requires the 'makeuniversal' tool from:
#
#   https://github.com/fizzyade/makeuniversal
#
# Build it with an existing local Qt installation first.
#
# Set the PATH environment variable to contain the location of 'makeuniversal'.


umask 022

CpuBrand=`sysctl -n machdep.cpu.brand_string | grep "Apple" | wc -l`
if [ ${CpuBrand} != 0 ];
then
  ARCH=arm64
else
  ARCH=x86_64
fi

set -e
set -x

VERSION=5.15.2

DEV_ROOT=$HOME/DREAM3D-Dev

cd $DEV_ROOT
rm -rf qt-$VERSION-$ARCH
mkdir qt-$VERSION-$ARCH
cd qt-$VERSION-$ARCH
../qt-everywhere-src-$VERSION/configure \
  --prefix=/Users/Shared/DREAM3D_SDK/Qt$VERSION/$VERSION/clang_$ARCH \
  --docdir=/Users/Shared/DREAM3D_SDK/Qt$VERSION/Docs/Qt-$VERSION \
  -platform macx-clang \
  -device-option QMAKE_APPLE_DEVICE_ARCHS=$ARCH \
  -device-option QMAKE_MACOSX_DEPLOYMENT_TARGET=10.13 \
  -release \
  -opensource -confirm-license \
  -gui \
  -widgets \
  -no-gif \
  -no-icu \
  -no-pch \
  -no-angle \
  -no-dbus \
  -no-harfbuzz \
  -skip declarative \
  -skip multimedia \
  -skip qtcanvas3d \
  -skip qtcharts \
  -skip qtconnectivity \
  -skip qtdeclarative \
  -skip qtgamepad \
  -skip qtlocation \
  -skip qtmultimedia \
  -skip qtnetworkauth \
  -skip qtpurchasing \
  -skip qtremoteobjects \
  -skip qtscript \
  -skip qtsensors \
  -skip qtserialbus \
  -skip qtserialport \
  -skip qtwebchannel \
  -skip qtwebengine \
  -skip qtwebsockets \
  -skip qtxmlpatterns \
  -nomake examples \
  -nomake tests \
  -make tools

# Need to install the tools BEFORE generating the docs
make -j -k
make install

# Generate the Docs and install them
make docs
make install_docs


--
Mike Jackson


From: Interest  on behalf of Nuno Santos 

Date: Friday, May 7, 2021 at 6:07 AM
To: Tor Arne Vestbø 
Cc: Qt development mailing list , Qt Interest 

Subject: Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

Tor,

What about building Qt 5.15.X for M1 Macs? 

Is there any kind of wiki resource out there?

Regards,

Nuno


On 7 May 2021, at 10:47, Tor Arne Vestbø  wrote:

Qt 6.0 and above has official support for Big Sur:

https://doc.qt.io/archives/qt-6.0/macos.html

5.15 is not yet officially supported, but should work fine as well, so please 
report any issues in JIRA, thanks!

Cheers,
Tor Arne


On 7 May 2021, at 11:00, coroberti  wrote:

Dear Tukka and others,
Since September Big Sur is a reality.

Which Qt-version supports correctly QWidgets for this platform for
open-source development.

If there's no such version, when the support is planned if ever.

I'd appreciate not to hijack this question for any discussions beyond the
very narrow scope of this question.

Thanks,

Kind regards,
Robert
___
Development mailing list
mailto:developm...@qt-project.org
https://lists.qt-project.org/listinfo/development

___
Interest mailing list
mailto:Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

___ Interest mailing list 
Interest@qt-project.org https://lists.qt-project.org/listinfo/interest 


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread Nuno Santos
I see! Thanks for your reply.

Best

> On 7 May 2021, at 12:32, Tuukka Turunen  wrote:
> 
>  
> Hi,
>  
> By “rough edges”, I was referring to no pre-built binaries and functionality 
> not tested so there can be issues even though a lot of things will probably 
> work just fine (Qt in general has been supporting ARM since ages).
>  
> Yours,
>  
> Tuukka
>  
> From: Interest  on behalf of Nuno Santos 
> 
> Date: Friday, 7. May 2021 at 14.05
> To: Qt Interest 
> Subject: Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For
> 
> Thanks for your reply.
>  
> Can you please be more specific about the “rough edges”?
>  
> I know people that have been able to compile Qt 5.15 from the source with M1 
> and so far so good.
>  
> Thanks!
>  
> Regards,
>  
> Nuno
> 
> 
> On 7 May 2021, at 11:16, Tuukka Turunen  > wrote:
>  
> Hi,
>  
> Supporting Apple silicon is something we are actively working to have in 
> place for Qt 6.2 including full CI coverage etc.
>  
> To some extent things will work also with Qt 5.15 if you build yourself, but 
> there are some rough edges (and Qt 5.15 is not tested for M1).
>  
> Yours,
>  
> Tuukka
>  
> From: Interest  > on behalf of Nuno Santos 
> mailto:nuno.san...@imaginando.pt>>
> Date: Friday, 7. May 2021 at 13.10
> To: Tor Arne Vestbø mailto:tor.arne.ves...@qt.io>>
> Cc: Qt development mailing list  >, Qt Interest  >
> Subject: Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For
> 
> Tor,
>  
> What about building Qt 5.15.X for M1 Macs? 
>  
> Is there any kind of wiki resource out there?
>  
> Regards,
>  
> Nuno
> 
> 
> 
> On 7 May 2021, at 10:47, Tor Arne Vestbø  > wrote:
>  
> Qt 6.0 and above has official support for Big Sur:
>  
> https://doc.qt.io/archives/qt-6.0/macos.html 
> 
>  
> 5.15 is not yet officially supported, but should work fine as well, so please 
> report any issues in JIRA, thanks!
>  
> Cheers,
> Tor Arne
> 
> 
> 
> On 7 May 2021, at 11:00, coroberti  > wrote:
>  
> Dear Tukka and others,
> Since September Big Sur is a reality.
> 
> Which Qt-version supports correctly QWidgets for this platform for
> open-source development.
> 
> If there's no such version, when the support is planned if ever.
> 
> I'd appreciate not to hijack this question for any discussions beyond the
> very narrow scope of this question.
> 
> Thanks,
> 
> Kind regards,
> Robert
> ___
> Development mailing list
> developm...@qt-project.org 
> https://lists.qt-project.org/listinfo/development 
> 
>  
> ___
> Interest mailing list
> Interest@qt-project.org 
> https://lists.qt-project.org/listinfo/interest 
> 
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread Tuukka Turunen

Hi,

By “rough edges”, I was referring to no pre-built binaries and functionality 
not tested so there can be issues even though a lot of things will probably 
work just fine (Qt in general has been supporting ARM since ages).

Yours,

Tuukka

From: Interest  on behalf of Nuno Santos 

Date: Friday, 7. May 2021 at 14.05
To: Qt Interest 
Subject: Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For
Thanks for your reply.

Can you please be more specific about the “rough edges”?

I know people that have been able to compile Qt 5.15 from the source with M1 
and so far so good.

Thanks!

Regards,

Nuno


On 7 May 2021, at 11:16, Tuukka Turunen 
mailto:tuukka.turu...@qt.io>> wrote:

Hi,

Supporting Apple silicon is something we are actively working to have in place 
for Qt 6.2 including full CI coverage etc.

To some extent things will work also with Qt 5.15 if you build yourself, but 
there are some rough edges (and Qt 5.15 is not tested for M1).

Yours,

Tuukka

From: Interest 
mailto:interest-boun...@qt-project.org>> on 
behalf of Nuno Santos 
mailto:nuno.san...@imaginando.pt>>
Date: Friday, 7. May 2021 at 13.10
To: Tor Arne Vestbø mailto:tor.arne.ves...@qt.io>>
Cc: Qt development mailing list 
mailto:developm...@qt-project.org>>, Qt Interest 
mailto:interest@qt-project.org>>
Subject: Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For
Tor,

What about building Qt 5.15.X for M1 Macs?

Is there any kind of wiki resource out there?

Regards,

Nuno



On 7 May 2021, at 10:47, Tor Arne Vestbø 
mailto:tor.arne.ves...@qt.io>> wrote:

Qt 6.0 and above has official support for Big Sur:

https://doc.qt.io/archives/qt-6.0/macos.html

5.15 is not yet officially supported, but should work fine as well, so please 
report any issues in JIRA, thanks!

Cheers,
Tor Arne



On 7 May 2021, at 11:00, coroberti 
mailto:corobe...@gmail.com>> wrote:

Dear Tukka and others,
Since September Big Sur is a reality.

Which Qt-version supports correctly QWidgets for this platform for
open-source development.

If there's no such version, when the support is planned if ever.

I'd appreciate not to hijack this question for any discussions beyond the
very narrow scope of this question.

Thanks,

Kind regards,
Robert
___
Development mailing list
developm...@qt-project.org
https://lists.qt-project.org/listinfo/development

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread Tor Arne Vestbø

> On 7 May 2021, at 12:28, coroberti  wrote:
> 
> Dear Tor Arne,
> Thank you for your reply.
> It's less useful since Qt-6 is a phantom, beta, and it will remain so
> for a year or more.

A wise person once said:

> I'd appreciate not to hijack this question for any discussions beyond the
> very narrow scope of this question.

 

Cheers,
Tor Arne

> 
> Kind regards,
> Robert Iakobashvili
> 
> 
> On Fri, May 7, 2021 at 12:47 PM Tor Arne Vestbø  wrote:
>> 
>> Qt 6.0 and above has official support for Big Sur:
>> 
>> https://doc.qt.io/archives/qt-6.0/macos.html
>> 
>> 5.15 is not yet officially supported, but should work fine as well, so 
>> please report any issues in JIRA, thanks!
>> 
>> Cheers,
>> Tor Arne
>> 
>> On 7 May 2021, at 11:00, coroberti  wrote:
>> 
>> Dear Tukka and others,
>> Since September Big Sur is a reality.
>> 
>> Which Qt-version supports correctly QWidgets for this platform for
>> open-source development.
>> 
>> If there's no such version, when the support is planned if ever.
>> 
>> I'd appreciate not to hijack this question for any discussions beyond the
>> very narrow scope of this question.
>> 
>> Thanks,
>> 
>> Kind regards,
>> Robert
>> ___
>> Development mailing list
>> developm...@qt-project.org
>> https://lists.qt-project.org/listinfo/development
>> 
>> 

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread Nuno Santos
Thanks for your reply.

Can you please be more specific about the “rough edges”?

I know people that have been able to compile Qt 5.15 from the source with M1 
and so far so good.

Thanks!

Regards,

Nuno

> On 7 May 2021, at 11:16, Tuukka Turunen  wrote:
> 
> Hi,
>  
> Supporting Apple silicon is something we are actively working to have in 
> place for Qt 6.2 including full CI coverage etc.
>  
> To some extent things will work also with Qt 5.15 if you build yourself, but 
> there are some rough edges (and Qt 5.15 is not tested for M1).
>  
> Yours,
>  
> Tuukka
>  
> From: Interest  on behalf of Nuno Santos 
> 
> Date: Friday, 7. May 2021 at 13.10
> To: Tor Arne Vestbø 
> Cc: Qt development mailing list , Qt Interest 
> 
> Subject: Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For
> 
> Tor,
>  
> What about building Qt 5.15.X for M1 Macs? 
>  
> Is there any kind of wiki resource out there?
>  
> Regards,
>  
> Nuno
> 
> 
> On 7 May 2021, at 10:47, Tor Arne Vestbø  > wrote:
>  
> Qt 6.0 and above has official support for Big Sur:
>  
> https://doc.qt.io/archives/qt-6.0/macos.html 
> 
>  
> 5.15 is not yet officially supported, but should work fine as well, so please 
> report any issues in JIRA, thanks!
>  
> Cheers,
> Tor Arne
> 
> 
> On 7 May 2021, at 11:00, coroberti  > wrote:
>  
> Dear Tukka and others,
> Since September Big Sur is a reality.
> 
> Which Qt-version supports correctly QWidgets for this platform for
> open-source development.
> 
> If there's no such version, when the support is planned if ever.
> 
> I'd appreciate not to hijack this question for any discussions beyond the
> very narrow scope of this question.
> 
> Thanks,
> 
> Kind regards,
> Robert
> ___
> Development mailing list
> developm...@qt-project.org 
> https://lists.qt-project.org/listinfo/development 
> 
>  
> ___
> Interest mailing list
> Interest@qt-project.org 
> https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread coroberti
Thanks, Tuukka,
for the information.

Kind regards,
Robert Iakobashvili


On Fri, May 7, 2021 at 1:18 PM Tuukka Turunen  wrote:
>
> Hi,
>
>
>
> Supporting Apple silicon is something we are actively working to have in 
> place for Qt 6.2 including full CI coverage etc.
>
>
>
> To some extent things will work also with Qt 5.15 if you build yourself, but 
> there are some rough edges (and Qt 5.15 is not tested for M1).
>
>
>
> Yours,
>
>
>
> Tuukka
>
>
>
> From: Interest  on behalf of Nuno Santos 
> 
> Date: Friday, 7. May 2021 at 13.10
> To: Tor Arne Vestbø 
> Cc: Qt development mailing list , Qt Interest 
> 
> Subject: Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For
>
> Tor,
>
>
>
> What about building Qt 5.15.X for M1 Macs?
>
>
>
> Is there any kind of wiki resource out there?
>
>
>
> Regards,
>
>
>
> Nuno
>
>
>
> On 7 May 2021, at 10:47, Tor Arne Vestbø  wrote:
>
>
>
> Qt 6.0 and above has official support for Big Sur:
>
>
>
> https://doc.qt.io/archives/qt-6.0/macos.html
>
>
>
> 5.15 is not yet officially supported, but should work fine as well, so please 
> report any issues in JIRA, thanks!
>
>
>
> Cheers,
> Tor Arne
>
>
>
> On 7 May 2021, at 11:00, coroberti  wrote:
>
>
>
> Dear Tukka and others,
> Since September Big Sur is a reality.
>
> Which Qt-version supports correctly QWidgets for this platform for
> open-source development.
>
> If there's no such version, when the support is planned if ever.
>
> I'd appreciate not to hijack this question for any discussions beyond the
> very narrow scope of this question.
>
> Thanks,
>
> Kind regards,
> Robert
> ___
> Development mailing list
> developm...@qt-project.org
> https://lists.qt-project.org/listinfo/development
>
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread coroberti
Dear Tor Arne,
Thank you for your reply.
It's less useful since Qt-6 is a phantom, beta, and it will remain so
for a year or more.

Kind regards,
Robert Iakobashvili


On Fri, May 7, 2021 at 12:47 PM Tor Arne Vestbø  wrote:
>
> Qt 6.0 and above has official support for Big Sur:
>
> https://doc.qt.io/archives/qt-6.0/macos.html
>
> 5.15 is not yet officially supported, but should work fine as well, so please 
> report any issues in JIRA, thanks!
>
> Cheers,
> Tor Arne
>
> On 7 May 2021, at 11:00, coroberti  wrote:
>
> Dear Tukka and others,
> Since September Big Sur is a reality.
>
> Which Qt-version supports correctly QWidgets for this platform for
> open-source development.
>
> If there's no such version, when the support is planned if ever.
>
> I'd appreciate not to hijack this question for any discussions beyond the
> very narrow scope of this question.
>
> Thanks,
>
> Kind regards,
> Robert
> ___
> Development mailing list
> developm...@qt-project.org
> https://lists.qt-project.org/listinfo/development
>
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread coroberti
Dear Eike,
Thanks for your comprehensive answer.

I will try to build it from open-source 5.15 branch

Where is the link to the branch?
Thanks!

Kind regards,
Robert Iakobashvili


On Fri, May 7, 2021 at 1:12 PM Eike Ziller  wrote:
>
>
>
> > On May 7, 2021, at 11:47, Tor Arne Vestbø  wrote:
> >
> > Qt 6.0 and above has official support for Big Sur:
> >
> > https://doc.qt.io/archives/qt-6.0/macos.html
> >
> > 5.15 is not yet officially supported, but should work fine as well, so 
> > please report any issues in JIRA, thanks!
> >
>
> Except for
> [QTBUG-88495] Text rendering: spaces are rendered incorrectly on macOS Big 
> Sur after commas, dots. - Qt Bug Tracker
> https://bugreports.qt.io/browse/QTBUG-88495
> and
> [QTBUG-88985] Context QMenu without parent blocked by modal dialog on macOS - 
> Qt Bug Tracker
> https://bugreports.qt.io/browse/QTBUG-88985
>
> for which the fixes are available in the opensource 5.15 branch, but not in 
> the 5.15.2 release.
>
> Qt Creator binaries are released based on Qt 5.15.2, so you can check that 
> for reference.
>
> Br, Eike
>
> > Cheers,
> > Tor Arne
> >
> >> On 7 May 2021, at 11:00, coroberti  wrote:
> >>
> >> Dear Tukka and others,
> >> Since September Big Sur is a reality.
> >>
> >> Which Qt-version supports correctly QWidgets for this platform for
> >> open-source development.
> >>
> >> If there's no such version, when the support is planned if ever.
> >>
> >> I'd appreciate not to hijack this question for any discussions beyond the
> >> very narrow scope of this question.
> >>
> >> Thanks,
> >>
> >> Kind regards,
> >> Robert
> >> ___
> >> Development mailing list
> >> developm...@qt-project.org
> >> https://lists.qt-project.org/listinfo/development
> >
> > ___
> > Development mailing list
> > developm...@qt-project.org
> > https://lists.qt-project.org/listinfo/development
>
> --
> Eike Ziller
> Principal Software Engineer
>
> The Qt Company GmbH
> Erich-Thilo-Straße 10
> D-12489 Berlin
> eike.zil...@qt.io
> http://qt.io
> Geschäftsführer: Mika Pälsi,
> Juha Varelius, Jouni Lintunen
> Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, 
> HRB 144331 B
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread Tuukka Turunen
Hi,

Supporting Apple silicon is something we are actively working to have in place 
for Qt 6.2 including full CI coverage etc.

To some extent things will work also with Qt 5.15 if you build yourself, but 
there are some rough edges (and Qt 5.15 is not tested for M1).

Yours,

Tuukka

From: Interest  on behalf of Nuno Santos 

Date: Friday, 7. May 2021 at 13.10
To: Tor Arne Vestbø 
Cc: Qt development mailing list , Qt Interest 

Subject: Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For
Tor,

What about building Qt 5.15.X for M1 Macs?

Is there any kind of wiki resource out there?

Regards,

Nuno


On 7 May 2021, at 10:47, Tor Arne Vestbø 
mailto:tor.arne.ves...@qt.io>> wrote:

Qt 6.0 and above has official support for Big Sur:

https://doc.qt.io/archives/qt-6.0/macos.html

5.15 is not yet officially supported, but should work fine as well, so please 
report any issues in JIRA, thanks!

Cheers,
Tor Arne


On 7 May 2021, at 11:00, coroberti 
mailto:corobe...@gmail.com>> wrote:

Dear Tukka and others,
Since September Big Sur is a reality.

Which Qt-version supports correctly QWidgets for this platform for
open-source development.

If there's no such version, when the support is planned if ever.

I'd appreciate not to hijack this question for any discussions beyond the
very narrow scope of this question.

Thanks,

Kind regards,
Robert
___
Development mailing list
developm...@qt-project.org
https://lists.qt-project.org/listinfo/development

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread Nuno Santos
Tor,

What about building Qt 5.15.X for M1 Macs? 

Is there any kind of wiki resource out there?

Regards,

Nuno

> On 7 May 2021, at 10:47, Tor Arne Vestbø  wrote:
> 
> Qt 6.0 and above has official support for Big Sur:
> 
> https://doc.qt.io/archives/qt-6.0/macos.html 
> 
> 
> 5.15 is not yet officially supported, but should work fine as well, so please 
> report any issues in JIRA, thanks!
> 
> Cheers,
> Tor Arne
> 
>> On 7 May 2021, at 11:00, coroberti > > wrote:
>> 
>> Dear Tukka and others,
>> Since September Big Sur is a reality.
>> 
>> Which Qt-version supports correctly QWidgets for this platform for
>> open-source development.
>> 
>> If there's no such version, when the support is planned if ever.
>> 
>> I'd appreciate not to hijack this question for any discussions beyond the
>> very narrow scope of this question.
>> 
>> Thanks,
>> 
>> Kind regards,
>> Robert
>> ___
>> Development mailing list
>> developm...@qt-project.org 
>> https://lists.qt-project.org/listinfo/development
> 
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] [Development] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread Tor Arne Vestbø
Qt 6.0 and above has official support for Big Sur:

https://doc.qt.io/archives/qt-6.0/macos.html

5.15 is not yet officially supported, but should work fine as well, so please 
report any issues in JIRA, thanks!

Cheers,
Tor Arne

On 7 May 2021, at 11:00, coroberti 
mailto:corobe...@gmail.com>> wrote:

Dear Tukka and others,
Since September Big Sur is a reality.

Which Qt-version supports correctly QWidgets for this platform for
open-source development.

If there's no such version, when the support is planned if ever.

I'd appreciate not to hijack this question for any discussions beyond the
very narrow scope of this question.

Thanks,

Kind regards,
Robert
___
Development mailing list
developm...@qt-project.org
https://lists.qt-project.org/listinfo/development

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Mac Big Sur - Qt Open-Source Support For

2021-05-07 Thread coroberti
Dear Tukka and others,
Since September Big Sur is a reality.

Which Qt-version supports correctly QWidgets for this platform for
open-source development.

If there's no such version, when the support is planned if ever.

I'd appreciate not to hijack this question for any discussions beyond the
very narrow scope of this question.

Thanks,

Kind regards,
Robert
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest