Navigation

    Qt Forum

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

    • SOLVED How to manually activate CheckBox blue focus indicator ?
      QML and Qt Quick • qml quick checkbox quick controls • • Mixlu  

      2
      0
      Votes
      2
      Posts
      12
      Views

      Problem solved by calling chekbox.forceActiveFocus(Qt.TabFocusReason)
    • UNSOLVED Implement custom QML FlowLayout
      QML and Qt Quick • qml layout quick flow flowlayout • • Phoenox  

      1
      0
      Votes
      1
      Posts
      16
      Views

      No one has replied

    • SOLVED Develop for android java issues
      General and Desktop • android quick mobile • • Phips04  

      28
      0
      Votes
      28
      Posts
      546
      Views

      @Phips04 Your welcome
    • UNSOLVED Quick Compiler resources are not visible
      General and Desktop • quick static linking quickcompiler • • Jarek B  

      5
      0
      Votes
      5
      Posts
      61
      Views

      I found out that between two cases (working and not working one) only file that differs substantially is qmlcache_loader.cpp. In non-working case it was over 5 times smaller than normally, and that's because 80% of all resources were not there. Now, the only reason why it's happened is because some qrc files has been added to RESOURCES twice, and only those resources were available at the end. Why it worked after moving file from one qrc file to another? Probably because only those part of the project which depends on that two files has been updated and though every qrc file has been included only once (duplicates was in my case in the other part of the project). EDIT: Before marking it as solved I will try to confirm all of the above hypothesis.
    • SOLVED [OSX] Window is blank until forced repaint
      QML and Qt Quick • qml cmake mac quick osx • • mbise1993  

      3
      0
      Votes
      3
      Posts
      641
      Views

      It does look like a similar issue. I was able to find a workaround thanks to this bug report. Setting the target OSX version to 10.12 in CMake did the trick.
    • UNSOLVED Qt Quick Controls 1 ScrollView Scrolling Issue
      QML and Qt Quick • qml quick scrollview scrollbar controls 1.4 • • narayanan.krish  

      1
      0
      Votes
      1
      Posts
      330
      Views

      No one has replied

    • SOLVED How to increase the "scrolling height" of a Qml ListView?
      QML and Qt Quick • qml listview quick flickable • • daljit97  

      13
      0
      Votes
      13
      Posts
      2575
      Views

      @GrecKo oh thank you very much. I confused bottomMargin for anchors.bottomMargin. I wasn't aware of this property being available. This is exactly what I needed!
    • UNSOLVED 在quick桌面程序,如何使用外部gl库来绘制一个子窗口
      Chinese • quick paint external render 外部渲染器 • • Angelking  

      2
      1
      Votes
      2
      Posts
      1909
      Views

      @Angelking 恰好我也在做这方面的研究。 我的需求是,为我们的动作编辑器增添Direct3D的支持,因为用户更加习惯MME----这是一个基于HLSL的渲染框架。 这里问题在于我们使用的是Qt Quick,而现有的代码是和OpenGL深度绑定的,我们需要做的是考察哪些地方和OpenGL深度绑定的,然后尝试抽象出来,做好做成一个插件,我是考察Qt插件的写法决定将OpenGL相关的内容放在插件里实现。 想让Qt Quick应用和OpenGL和Direct3D解耦,我想一个方法就是使用RTT技术。就是采用不同的渲染器在一个纹理图上渲染,这样有可能通用。但是其中的难点感觉还是挺多的,现在在艰难地攻克。
    • SOLVED Designer plugin for custom library types/controls?
      QML and Qt Quick • plugin quick designer • • LScott  

      11
      0
      Votes
      11
      Posts
      3399
      Views

      After some tinkering, I've gotten the designer plugin to work the way I originally wanted. I simply commented out the 'module' directive in the 'qmldir' file: # module MyLib typeinfo plugin.qmltypes plugin MyLib ../ designersupported and added some qmake targets to automatically run 'qmlplugindump' post-build. So now my plugin directory structure looks like this: /imports |---MyLib.dll (or libMyLib.so) |---/MyLib |---|---qmldir |---|---plugin.qmltypes Now I can get the plugin to run in 'qmlscene': qmlscene -I <imports directory> <main qml file> There are only two caveats in this case. First, QML files that are to import anything from the library must first import 'MyLib 1.0' before importing anything else ('MyLib.Rectangle', 'MyLib.Circle', etc.). This is so that the plugin is loaded initially to populate the other imports. Secondly, this will produce the following message when the plugin is loaded: Module 'MyLib' does not contain a module identifier directive - it cannot be protected from external registrations. However in my case, this is not an issue and can be safely overlooked.
    • SOLVED Animations with dynamic content
      QML and Qt Quick • qml quick states animations • • dv__  

      5
      0
      Votes
      5
      Posts
      1795
      Views

      @dv__ said in QML animations with dynamic content: Also, just out of curiosity, in a more generic case (say, some arbitrary, non-grid arrangement), would my approach make sense? I suppose I could still use ListModel in this case, but the arrangement would have to be done manually, not with an existing view. To do this I'd use a raw Item container with a Repeater and manual positioning in the delegates.
    • UNSOLVED Approach for a museum video player and selector
      QML and Qt Quick • qml video quick museum selector • • zoulock  

      4
      0
      Votes
      4
      Posts
      1136
      Views

      @GrecKo thanks for your comment. I've managed to create the window in which people would touch the video, but I'm not sure how to make the player. I've seen there is a library, Qt media, but I don't really know how to bind it with the other screen.
    • UNSOLVED froglogic Releases Code Coverage Tool for Qt Quick and QML Applications
      Announcements • qml quick code coverage • • reggie  

      1
      2
      Votes
      1
      Posts
      829
      Views

      No one has replied

    • QtCreator in Design say "found not working import file:// ... module ... not installed". How did I do ?
      Tools • qml quick design modules qtcreator 4.0.2 • • Watchara Kangkun  

      4
      0
      Votes
      4
      Posts
      2264
      Views

      You have to enable Use QML emulation layer that is built with the selected Qt in the settings, since Qt Creator does ship with Canvas3D. Note that Canvas3D is not officially supported in the designer, though.
    • SOLVED Move QML ListView via buttons
      QML and Qt Quick • qml listview qt 5.7 quick • • Julien B  

      7
      0
      Votes
      7
      Posts
      6479
      Views

      Thanks @jpnurmi, This is exactly what i was looking for, all my issues are solved.
    • UNSOLVED Smart way to connect QML GUI objects to C++ audio processing chain?
      QML and Qt Quick • qml c++ quick audio audio qml • • Yosemite  

      1
      0
      Votes
      1
      Posts
      567
      Views

      No one has replied

    • UNSOLVED QML 5.7: modoule "QtWebview" is not installed
      QML and Qt Quick • qml webview quick qtwebview • • mafhoom  

      3
      0
      Votes
      3
      Posts
      1861
      Views

      Hi and welcome to devnet, Why not free anymore ? Looks rather like a licensing issue. LGPLv2.1 has been replaced by LGPLv3.
    • SOLVED [SOLVED] How to get Object's pointer instantiated in QML engine
      QML and Qt Quick • quick mvc engine • • Kofr  

      2
      0
      Votes
      2
      Posts
      1156
      Views

      http://www.qtcentre.org/threads/66403-How-to-get-Object-s-pointer-instantiated-in-QML-engine?p=291959#post291959
    • UNSOLVED How to learn Qt Advanced level?
      General and Desktop • quick source code core • • Kofr  

      3
      0
      Votes
      3
      Posts
      1071
      Views

      Hi, code.qt.io is the central repository of all Qt's code. Start from the qtbase module to have the basic pieces. If you would like to learn the internal, helping fixing bugs will also give you a better understanding of how things are working.
    • UNSOLVED Accessing item delegate by model index or why Quick sucks when working with models?
      QML and Qt Quick • model quick mvc treev • • Kofr  

      11
      0
      Votes
      11
      Posts
      4745
      Views

      @p3c0 said: @Kofr So is it that you want to access the roles (namely hue, saturation, brightness) values from outside of this ListView delegate ? If so then did you accessing ListVIew model from outside ? Once you get hold of it the data can be accessed too. code above is just example, not my case. what I need is to get model.roleName of delegate j when I work in delegate i
    • UNSOLVED Problem with Map and MapPolygon
      QML and Qt Quick • qml quick map location mappolygon • • Miime  

      6
      0
      Votes
      6
      Posts
      1843
      Views

      @Wieland Thank you for testing :) I've done a bugreport: https://bugreports.qt.io/browse/QTBUG-53046
    • UNSOLVED QtQuick w/o widgets
      Qt Contribution • widgets quick gerrit • • Andriy Gerasika  

      2
      0
      Votes
      2
      Posts
      1443
      Views

      Hi, Since those are the same patches you should only target one branch. If it's the wrong one, don't worry it will be changed for you. In order to get them move forward, you should add reviewers that are concerned by your patches e.g. the module maintainers. One probable remark you will have is that your patch modifies several unrelated stuff so you should split them in order to ensure atomic changes e.g. one disables the item view part, another one the shortcut etc.
    • How to Flip Left/Right an qml Item in shader?
      QML and Qt Quick • quick shader horizontal flip • • dhuta  

      1
      0
      Votes
      1
      Posts
      597
      Views

      No one has replied

    • UNSOLVED How to Flip Left/Right an qml Item in shader?
      General and Desktop • quick shader horizontal flip • • dhuta  

      1
      0
      Votes
      1
      Posts
      608
      Views

      No one has replied

    • UNSOLVED QScrollArea in Qml: Flickable + QQuickPaintedItem
      QML and Qt Quick • qml quick flickable qscrollarea • • alan73  

      1
      0
      Votes
      1
      Posts
      827
      Views

      No one has replied

    • SOLVED QML TableView on iOS works with Qt 5.5.0 and does not work with Qt 5.5.1
      QML and Qt Quick • qml ios tableview quick • • voptiplex  

      5
      0
      Votes
      5
      Posts
      1751
      Views

      Hi, I finally got the latest 5.6.0 baseline compiled for iOS and can confirm that 5.6.0 does not show this tableview error. Thanks for your help, well appreciated !! BR, Thomas
    • UNSOLVED Toggle VSync during runtime with QtQuick/QSG
      General and Desktop • quick scene graph qsgrenderthread • • athairus  

      2
      0
      Votes
      2
      Posts
      1134
      Views

      Hi and welcome to devnet, I'd recommend posting this question to the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)
    • UNSOLVED Qt Creator 3.5.1 qmake errors with Qt 5.5.1
      General and Desktop • quick compilation qt 5.5.1 qtcreator 3.5.1 • • hwe1973  

      6
      0
      Votes
      6
      Posts
      2227
      Views

      That one's a classic (and a question that regularly comes back)
    • UNSOLVED Why can't I use ternary operator with onClicked
      QML and Qt Quick • qml quick • • sosun  

      3
      0
      Votes
      3
      Posts
      3254
      Views

      Hi, There's a conversion done when you set the color property thus currently what you are doing is comparing a color with a string. The solution is: background.color = Qt.colorEqual(background.color, "steelblue") ? "purple" : "steel blue"
    • UNSOLVED Deploying Qt Quick Desktop Application
      QML and Qt Quick • qml deployment quick deploy deploying • • Marco B  

      1
      0
      Votes
      1
      Posts
      767
      Views

      No one has replied

    • Partially transparent image
      QML and Qt Quick • image quick embedded qt transparent • • jimmy274  

      4
      0
      Votes
      4
      Posts
      1708
      Views

      @jimmy274 You're Welcome :) A more interesting way but through C++ would be to use QQuickPaintedItem to create your own custom item. You can re-implement paint method to draw your custom shapes, text etc.. It uses QPainter to achieve this. Try looking for setCompositionMode and setClipRegion methods. An example for QQuickPaintedItem is here.
    • Scope in QML
      QML and Qt Quick • qml quick slots signals scope signalsslots • • Anas A. Ismail  

      3
      0
      Votes
      3
      Posts
      1255
      Views

      @JKSH Thanks for your help, May you help me more by writing a sample code for this ? Thanks
    • Shortcuts for Labels with TextFields
      QML and Qt Quick • qml quick shortcuts action hotkey buddy • • slesa  

      1
      0
      Votes
      1
      Posts
      546
      Views

      No one has replied

    • First code drop of our version of QT Declarative 2d (Quick2)
      Mobile and Embedded • arm quick freescale flir prevas • • mgrunditz  

      1
      0
      Votes
      1
      Posts
      585
      Views

      No one has replied

    • Problem with first QML progarm(texteditor)
      QML and Qt Quick • qml quick • • saeed  

      3
      0
      Votes
      3
      Posts
      1078
      Views

      yes my creator is 3.2.1 but i like understand how a qml file run with plugins!?
    • Question about QML import
      QML and Qt Quick • qml quick • • shav  

      3
      0
      Votes
      3
      Posts
      851
      Views

      @mcosta Thanks for the reply. If I will not find any other ways I'll use different files.
    • Meet osgQtQuick 2.0!
      Announcements • qml c++ quick osg openscenegraph osgearth • • podsvirov  

      2
      0
      Votes
      2
      Posts
      1126
      Views

      Now it's distributed as package of MSYS2 project.
    • Meet osgQtQuick 2.0! (Integrating OpenSceneGraph with Qt Quick)
      3rd Party Software • qml quick osg openscenegraph osgearth • • podsvirov  

      7
      0
      Votes
      7
      Posts
      4322
      Views

      Now it's distributed as package of MSYS2 project. Type in the appropriate shell: pacman -S mingw-w64-i686-osgQtQuick or pacman -S mingw-w64-x86_64-osgQtQuick To run test game script: wget https://github.com/podsvirov/osgqtquick/raw/develop/tests/sokoban.qml qmlscene sokoban.qml
    • Update on Qt Declarative 2d (my version)
      QML and Qt Quick • quick declarative mickens • • mgrunditz  

      1
      0
      Votes
      1
      Posts
      535
      Views

      No one has replied

    • Equivalent to QGraphicsItem::ItemIgnoresTransformations flags in QtQuick 5
      QML and Qt Quick • quick cosmetic itemignorestran • • dzimiwine  

      7
      0
      Votes
      7
      Posts
      2092
      Views

      @p3c0 The cosmetic pen issue won't be easy to solve though.