Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    StackViewTransition is not a type

    General and Desktop
    stackviewtransi rcc not a type static qt
    1
    1
    1261
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fredrik last edited by

      I'm having some problems with the StackView component. The error I get is "file::/QtQuick/Controls/StackViewDelegate.qml:65:40: StackViewTransition is not a type" when I run my application.

      What I have is a static built Qt application that also includes all the QtQuick libs for running my QML interface .

      From pro file:

      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\Qt\labs\folderlistmodel\qmlfolderlistmodelplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\Qt\labs\settings\qmlsettingsplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\Qt\WebSockets\declarative_qmlwebsockets.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtBluetooth\declarative_bluetooth.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtLocation\declarative_location.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtMultimedia\declarative_multimedia.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtNfc\declarative_nfc.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtPositioning\declarative_positioning.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQml\Models.2\modelsplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQml\StateMachine\qtqmlstatemachine.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick\Controls\qtquickcontrolsplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick\Dialogs\dialogplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick\Dialogs\Private\dialogsprivateplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick\Layouts\qquicklayoutsplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick\LocalStorage\qmllocalstorageplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick\Particles.2\particlesplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick\PrivateWidgets\widgetsplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick\Window.2\windowplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick\XmlListModel\qmlxmllistmodelplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtQuick.2\qtquick2plugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtSensors\declarative_sensors.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtTest\qmltestplugin.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtWebChannel\declarative_webchannel.lib
      LIBS += C:\Qt\qt-5.4.1-x86-msvc2010-compact-static\qml\QtWinExtras\qml_winextras.lib

      The qml directory with QtQuick, QtQuick.2, QtQml, ... etc. is loaded using a rcc file.

      I have gotten everything to work fine except the StackView QML component which gives me this error. Has anybody seen this before?

      I have gone thru my .qrc file and all the necessary StackView*.qml files are there, also printed all files in my loaded resource file and it is in my rcc file but for some reason it will not load.

      When looking thru the source of Qt 5.4.1 I found the file qqmlimport.cpp in the qtdeclarative project. The error "not a type" comes from here (line: 740). I don't have any knowledge about Qt internals so I hoping that somebody can help me with that.

      The error only occurs on computers without Qt installed.

      Enviorment:
      Static build of Qt 5.4.1
      Windows 7

      1 Reply Last reply Reply Quote 1
      • First post
        Last post