Inner Shadow
-
MultiEffect does not have an inner shadow effect. However, Effect Maker does have a node for Inner Shadow, and if you create a "custom" shader from just that node, then you can use that inner shadow effect in your project.
However, this means every single person in the world who wants to use an inner shadow has to find out about Effect Maker, try it out, and find it has an inner shadow node in it. Then they have generate shader code from that node and include it in their project, even though that code will be identical for everyone in the world.
This can't be how it's meant to work, can it? I feel like I'm missing something here.
-
Hmm, seems like Designer can add its own an InnerShadow effect (imported from
QtQuick.Studio.DesignEffects) separate from the one I created with Effect Maker? But that module doesn't seem to be documented... I am confused.But hey, if it's possible to do inner shadows, I'll be happy.
-
Designer generates this import but it doesn't work...
module "QtQuick.Studio.DesignEffects" is not installedSigh.
-
The "inner shadow" node in the effect maker doesn't seem to work at all... it just colors the entire texture with the "shadow color", with no blurring.
The inner shadow in the DesignEffects module works in Designer, but when you open the same project in Creator, or try to preview the file with the
qmlrunner, it saysmodule "QtQuick.Studio.DesignEffects" is not installedThere are instructions here for installing the designer components manually (don't understand why you need to do this), but they don't work for me:
When I try to do
cmake --install .I get the following error:CMake Error at src/imports/compat/Components/cmake_install.cmake:127 (file): file INSTALL cannot find "/Users/matt/Qt/qdc/build/share/qt/qml/QtQuickUltralite/Studio/Components/libquickultralitestudiocomponentsplugin.dylib": No such file or directory. Call Stack (most recent call first): src/imports/compat/cmake_install.cmake:42 (include) src/imports/cmake_install.cmake:42 (include) src/cmake_install.cmake:42 (include) cmake_install.cmake:42 (include) -
Tried to "export" the Designer project to Creator as documented here:
https://doc.qt.io/qtdesignstudio/studio-designer-developer-workflow.html
Creator fails to import the designer project's cmakelist.txt because it can't find
/Users/matt/Qt/6.7.2/macos/lib/cmake/Qt6Qml/QmlPlugins/Qt6QuickUltraLiteStudioComponentspluginTargets.cmakeAnd that file is, indeed, missing from the Qt installation.
Am I the only one who's ever tried using this? Or is it working for everyone except me?
-
Tried manually copying the built Design Studio component files (under build/lib, build/modules. and build/share/qt/qml) to the corresponding places in my Qt install (Qt/6.7.2/macos/lib, Qt/6.7.2/macos/modules, Qt/6.7.2/qml), and now Creator will auto-complete the QtQuick.Studio.DesignEffects module contents, but trying to preview the the QML file with the
qmltool still gives an error:QQmlApplicationEngine failed to load component file:///Users/matt/QtProjects/Test/ShadowTest.qml:2:1: module "QtQuick.Studio.DesignEffects" is not installed