Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. module
    Log in to post

    • UNSOLVED When to register c++ singleton types in QML module plugins?
      QML and Qt Quick • qml c++ plugin module singleton • • Knutid  

      1
      0
      Votes
      1
      Posts
      95
      Views

      No one has replied

    • SOLVED Access a StackView from a different QML file
      QML and Qt Quick • qml module access export • • LorenDB  

      3
      0
      Votes
      3
      Posts
      808
      Views

      @sierdzio setting an alias for the StackView and then calling root.stack.push worked for me. Thanks!
    • UNSOLVED Interessed to use Qt Lottie Animation renderer, but somewhat limited...
      QML and Qt Quick • animation svg module lottie • • jeanmilost  

      1
      1
      Votes
      1
      Posts
      318
      Views

      No one has replied

    • SOLVED Unknown module(s) in QT: webengine in 5.14 msvc2015_64
      General and Desktop • msvc2015 module qwebengine 5.14 • • sayan275  

      2
      0
      Votes
      2
      Posts
      197
      Views

      Hi, Because of chromium minimal compiler requirements. Nothing Qt can do about. Either use an older version or update your compiler to VS 2019 which is backward compatible with VS2017 and has less bugs.
    • UNSOLVED module "QtQuick" version 2.12 is not installed
      Installation and Deployment • deployment module newbie • • IamJeff  

      9
      0
      Votes
      9
      Posts
      7333
      Views

      Do you have another Qt version installed on that device ?
    • UNSOLVED Module is not installed error
      QML and Qt Quick • module import export plugin install extantion qml • • Helga  

      1
      0
      Votes
      1
      Posts
      356
      Views

      No one has replied

    • SOLVED How to use KDE Frameworks with Qt Creator
      Tools • qtcreator qt5 module kde • • daljit97  

      8
      1
      Votes
      8
      Posts
      3446
      Views

      @mpyne said in How to use KDE Frameworks with Qt Creator: Hi @daljit97, as you guessed, the difficulty is in helping Qt to find the appropriate metadata so that qmake knows how to handle "KSyntaxHighlighting" when it finds it in your QMake project file. Looking at some of the Qt docs on a related topic, I found this page on advanced QMake usage. The part you care about is the third option to add features to qmake: using the QMAKEPATH environment variable. By exporting this variable in your shell to the KF5 install directory, qmake should be able to find the various KF5 modules. For example, my KF5 install is at ~/kde-5, so I did something like: export QMAKEPATH=$HOME/kde-5 qmake make on a shell project # program.pro TEMPLATE = app TARGET = program INCLUDEPATH += . QT += widgets KSyntaxHighlighting SOURCES += main.cpp // main.cpp #include <QMainWindow> #include <QApplication> #include <QLabel> #include <Definition> int main(int argc, char **argv) { QApplication app(argc, argv); QMainWindow *win = new QMainWindow; KSyntaxHighlighting::Definition def; win->setCentralWidget( new QLabel(QStringLiteral("Hi!"), win) ); win->show(); return app.exec(); } It is also possible to build Qt applications with CMake, and that is more traditional for significant KF5 users. But as long as this works for you it looks like it won't be too hard to do what you're trying to do while continuing to use qmake. Ok so that was very helpful. On my machine that KSyntaxHighlighting had a .pri file in /usr/lib/x86_64-linux-gnu/qt5/mkspecs/modules. Following your suggestion I added a QMAKEPATH Environment variable in Qt Creator using the GUI tool that Qt Creator provides and now everything works!
    • SOLVED Qt Creator custom module naming issues with drag and drop
      QML and Qt Quick • qtquick qtdesigner module custom • • sTirkas  

      2
      0
      Votes
      2
      Posts
      788
      Views

      I fixed the issue by dropping the source string from the .metainfo files. For anyone that cares I was following these instructions: http://doc.qt.io/qtcreator/creator-qml-modules-with-plugins.html and on step 5 I picked a random metainfo file when I searched the Qt folder for .metainfo, not the one they specifically chose (qtcharts.metainfo vs qtquickcontrols2.metainfo) The qtcharts one was probably for some other type of module use where specifying the source does something I don't need, the qtquickcontrols2 ended up having the syntax I really wanted in the end. Eventually I found this example and found out dropping the source worked: https://forum.qt.io/topic/56207/how-to-load-custom-qml-controls-into-the-qml-designer
    • UNSOLVED Reinstall Qt5 with QtMultimedia using Ubuntu Mate
      General and Desktop • module install • • Xenoshell  

      44
      0
      Votes
      44
      Posts
      13827
      Views

      It will be in the future when you'll build Qt again.
    • UNSOLVED "QtQuick" The specified module could not be found
      General and Desktop • qtquick windows 10 module • • athan_david  

      1
      0
      Votes
      1
      Posts
      1516
      Views

      No one has replied

    • UNSOLVED QML module not found
      QML and Qt Quick • module qtquickcontrol not found qtquick.layouts • • nils90  

      6
      0
      Votes
      6
      Posts
      11746
      Views

      @nils90 ok I reinstalled Qt and now it works. I must have forgotten to install one plugin during the installation
    • UNSOLVED Display qml components from a module in the library of Qt Quick Designer
      QML and Qt Quick • qml qtquick designer module component • • Okyn  

      1
      0
      Votes
      1
      Posts
      906
      Views

      No one has replied

    • UNSOLVED Automatic type dump of QML module failed
      General and Desktop • qml c++ qtcreator module • • sosun  

      1
      0
      Votes
      1
      Posts
      2519
      Views

      No one has replied

    • UNSOLVED QtQuick: Module is not installed
      QML and Qt Quick • qtquick module • • Jan Roorda  

      1
      0
      Votes
      1
      Posts
      2245
      Views

      No one has replied

    • [SOLVED] Qt SQL Module - Do I have to pay a license for using it ? (commercial use)
      General and Desktop • sql module licensing license commercial • • Gugelhupf  

      9
      0
      Votes
      9
      Posts
      3263
      Views

      No you don't, again, just check what the LGPL license requires and conform to it, then you'll be good.
    • Test available module
      QML and Qt Quick • module test available • • CharlieG  

      2
      0
      Votes
      2
      Posts
      845
      Views

      Hi @CharlieG AFAIK that is not possible from QML. But you can try checking for errors by loading the QML from C++ side. For eg. if you use QQmlComponent you can check for errors using errors.
    • SOLVED QSqlDatabase: QMYSQL driver not loaded / Build MySQL Plugin
      Installation and Deployment • sql ubuntu 14.04 module qmysql linux mint • • mattewre  

      32
      5
      Votes
      32
      Posts
      37512
      Views

      im using qt 5.9 on mac this piece of code worked like charm for me brew install mysql-connector-c
    • How to install QtSystemInfo module on OS X?
      Mobile and Embedded • module qtsysteminfo • • batteries  

      1
      0
      Votes
      1
      Posts
      572
      Views

      No one has replied

    • Can't add Multimedia module in .pro
      General and Desktop • qt5 library multimedia module • • sosun  

      1
      0
      Votes
      1
      Posts
      743
      Views

      No one has replied

    • How to add a module with a plugin to resource file
      QML and Qt Quick • qml android plugin module resource plugin windows • • Lcmzt  

      1
      0
      Votes
      1
      Posts
      1124
      Views

      No one has replied

    • Determine which modules were loaded in the .pro file, using preprocessor #ifdef
      General and Desktop • module macro preprocessor ifdef • • DerManu  

      2
      0
      Votes
      2
      Posts
      1099
      Views

      Hi, QT_NO_PRINTER is (or not) defined when compiling Qt, not when loading or not a module. One thing you could is the qtHaveModule() function in your pro file and create the defines you need there. Hope it helps
    • Setting-up Qt Connectivity Module on Windows
      General and Desktop • module connectivity • • Anon  

      2
      0
      Votes
      2
      Posts
      1267
      Views

      Hi and welcome to devnet, The QtExtended module is 6 years old and IIRC it was Qtopia before that, this module has been discontinued and some of it's element integrated in Qt. However I don't think the VPN code was part of that integration.
    • Qt Creator ignores QML-Prototype in custom Module
      QML and Qt Quick • qml qtcreator module create plugin • • Tobias F  

      2
      0
      Votes
      2
      Posts
      1218
      Views

      Indeed, QtCreator seems to ignore the "prototype" member in .qmltypes because the file is generated correctly.
    • Gitorious to GitLab transfer?
      The Lounge • module gitlab gitorious addon • • WXB13  

      5
      0
      Votes
      5
      Posts
      2605
      Views

      @JKSH No problem; glad to contribute, albeit on such a tiny scale.
    • [SOLVED] Windows build: Many classes cannot be found
      General and Desktop • windows module include not found • • qtacc32  

      20
      0
      Votes
      20
      Posts
      9070
      Views

      Hahah, yea, but for now it's just more comfortable, should I run into issues, I'll have it in mind. I have kinda good control over my computer :-P Thanks to everyone.
    • Qt 4.8 - Build and install a single module
      Installation and Deployment • opengl module 4.8 • • bundickt  

      4
      0
      Votes
      4
      Posts
      1531
      Views

      It's not the default. However, that option doesn't disable a module, it disable the use of OpenGL globally. You have to rebuild Qt.