Question about ongoing port to qt 6

Drop in here to discuss whatever you want.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
CVH
Premier Member
Posts: 3364
Joined: Wed Sep 27, 2017 4:17 pm

Question about ongoing port to qt 6

Post by CVH » Tue Sep 13, 2022 6:48 pm

Andrew,

I do follow the changes made in the GitHub repository.
Noticed the ongoing port to qt 6.

My concern is about the changes made to .js script files, others I won't address in direct.

Recent examples of some changes in special:

Code: Select all

-   var buttons = new QMessageBox.StandardButtons(QMessageBox.Yes, QMessageBox.No, QMessageBox.Cancel);
+   var buttons = makeQMessageBoxStandardButtons(QMessageBox.Yes, QMessageBox.No, QMessageBox.Cancel);

Code: Select all

-   fileDialog.destroy();
+   destr(fileDialog);
Among others but I need to verify these one by one as I din't keep track of what I copied over.
Or will there be a list of changes?

Should we adapt user created scripts the same way?
In special those scripts that became part of the of the QCAD distribution.

Timeframe? Only when Qt 6 is included or globally?

Regards,
CVH

User avatar
andrew
Site Admin
Posts: 9019
Joined: Fri Mar 30, 2007 6:07 am

Re: Question about ongoing port to qt 6

Post by andrew » Tue Sep 13, 2022 7:44 pm

It's too early to make any changes. This is all preliminary and might still change / revert.

Qt 6 has no (decent) JavaScript environment, so we have to implement a lot from scratch. This will still take at least some months.

Post Reply

Return to “Chat”