That works now! How come just specifying the version as QQC2
allowed it to operate correctly?
Additionally, how come
import QtQuick
import QtQuick.Controls 2.15 as QQC2
import QtQuick.Layouts
import QtPositioning
and prepension of QQC2
before Action
, Button
, ApplicationWindow
, and Frame
doesn’t work, whereas
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import QtPositioning
import QtQuick.Controls 2.15 as QQC2
and addition of QQC2.Button
(per [qml+pyqt6] Can't get native control appearance - #2 by carl) does?
It was because Text {}
isn’t part of that library, and thus text:
needs to be used.