Do not rely on QtCore settings, it breaks builds with Qt < 6.4

This commit is contained in:
Alex Spataru 2023-02-05 21:32:38 -06:00
parent 1b5f094837
commit 0a16c90acd
9 changed files with 10 additions and 10 deletions

View File

@ -20,10 +20,10 @@
* THE SOFTWARE.
*/
import QtCore
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import Qt.labs.settings
import "../Widgets" as Widgets

View File

@ -20,10 +20,10 @@
* THE SOFTWARE.
*/
import QtCore
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import Qt.labs.settings
import "../Widgets" as Widgets

View File

@ -20,10 +20,10 @@
* THE SOFTWARE.
*/
import QtCore
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import Qt.labs.settings
import "../Widgets" as Widgets
import "SetupPanes" as SetupPanes

View File

@ -23,7 +23,7 @@
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import QtCore as QtCore
import Qt.labs.settings as QtSettings
import "Devices" as Devices
import "../../Windows" as Windows
@ -34,7 +34,7 @@ Control {
//
// Save settings
//
QtCore.Settings {
QtSettings.Settings {
property alias driver: _driverCombo.currentIndex
property alias parity: serial.parity
property alias baudRate: serial.baudRate

View File

@ -20,10 +20,10 @@
* THE SOFTWARE.
*/
import QtCore
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import Qt.labs.settings
import SerialStudio as SerialStudio
Item {

View File

@ -20,11 +20,11 @@
* THE SOFTWARE.
*/
import QtCore
import QtQuick
import QtQuick.Window
import QtQuick.Layouts
import QtQuick.Controls
import Qt.labs.settings
import "../FramelessWindow" as FramelessWindow

View File

@ -20,11 +20,11 @@
* THE SOFTWARE.
*/
import QtCore
import QtQuick
import QtQuick.Window
import QtQuick.Layouts
import QtQuick.Controls
import Qt.labs.settings
import "../FramelessWindow" as FramelessWindow

View File

@ -20,11 +20,11 @@
* THE SOFTWARE.
*/
import QtCore
import QtQuick
import QtQuick.Window
import QtQuick.Layouts
import QtQuick.Controls
import Qt.labs.settings
import "../Panes"
import "../Windows"

View File

@ -20,11 +20,11 @@
* THE SOFTWARE.
*/
import QtCore
import QtQuick
import QtQuick.Window
import QtQuick.Layouts
import QtQuick.Controls
import Qt.labs.settings
import "../ProjectEditor"
import "../Widgets" as Widgets