Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. quick

    Log in to post
    • All categories
    • S

      Unsolved Load SVG image with parameters
      QML and Qt Quick • qml svg image quick • • SroDev

      1
      0
      Votes
      1
      Posts
      436
      Views

      No one has replied

    • timob256

      Unsolved why doesn't it draw PathLine ??
      QML and Qt Quick • quick qt quick qt5.11 • • timob256

      2
      0
      Votes
      2
      Posts
      252
      Views

      B

      If I understood correctly, you want to draw a red line.
      The purpose of Path is to position elements through a path. Think of a row or a column that's not straight. You can understand better if you run the first example from this tutorial.

      To draw paths you need Shape.

      import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Shapes 1.12 Window { width: 640 height: 480 visible: true title: qsTr("Редактор персонажей") Shape { ShapePath { strokeColor: "red"; // it works :) startX: 0; startY: 100 PathLine { x: 640; y: 480 } } } }
    • timob256

      Unsolved how in Qt Quick draw line ???
      QML and Qt Quick • 3d canvas 2d graphics quick • • timob256

      2
      0
      Votes
      2
      Posts
      177
      Views

      jsulm

      @timob256 I entered "Qt Quick draw line" in Google and got this: https://doc.qt.io/qt-5/qml-qtquick-pathline.html

    • M

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

      2
      0
      Votes
      2
      Posts
      261
      Views

      M

      Problem solved by calling chekbox.forceActiveFocus(Qt.TabFocusReason)

    • Phoenox

      Unsolved Implement custom QML FlowLayout
      QML and Qt Quick • flow layout qml quick flowlayout • • Phoenox

      1
      0
      Votes
      1
      Posts
      224
      Views

      No one has replied

    • P

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

      28
      0
      Votes
      28
      Posts
      2632
      Views

      KroMignon

      @Phips04 Your welcome

    • J

      Unsolved Quick Compiler resources are not visible
      General and Desktop • quick quickcompiler static linking • • Jarek B

      5
      0
      Votes
      5
      Posts
      797
      Views

      J

      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.

    • M

      Solved [OSX] Window is blank until forced repaint
      QML and Qt Quick • cmake quick qml osx mac • • mbise1993

      3
      0
      Votes
      3
      Posts
      936
      Views

      M

      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.

    • N

      Unsolved Qt Quick Controls 1 ScrollView Scrolling Issue
      QML and Qt Quick • qml controls 1.4 scrollview scrollbar quick • • narayanan.krish

      1
      0
      Votes
      1
      Posts
      470
      Views

      No one has replied

    • D

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

      13
      0
      Votes
      13
      Posts
      3591
      Views

      D

      @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!

    • A

      Unsolved 在quick桌面程序,如何使用外部gl库来绘制一个子窗口
      Chinese • quick external render 外部渲染器 paint • • Angelking

      2
      1
      Votes
      2
      Posts
      2544
      Views

      jiancaiyang

      @Angelking 恰好我也在做这方面的研究。
      我的需求是,为我们的动作编辑器增添Direct3D的支持,因为用户更加习惯MME----这是一个基于HLSL的渲染框架。
      这里问题在于我们使用的是Qt Quick,而现有的代码是和OpenGL深度绑定的,我们需要做的是考察哪些地方和OpenGL深度绑定的,然后尝试抽象出来,做好做成一个插件,我是考察Qt插件的写法决定将OpenGL相关的内容放在插件里实现。

      想让Qt Quick应用和OpenGL和Direct3D解耦,我想一个方法就是使用RTT技术。就是采用不同的渲染器在一个纹理图上渲染,这样有可能通用。但是其中的难点感觉还是挺多的,现在在艰难地攻克。

    • L

      Solved Designer plugin for custom library types/controls?
      QML and Qt Quick • designer quick plugin • • LScott

      11
      0
      Votes
      11
      Posts
      4002
      Views

      L

      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.

    • D

      Solved Animations with dynamic content
      QML and Qt Quick • qml quick animations states • • dv__

      5
      0
      Votes
      5
      Posts
      2146
      Views

      GrecKo

      @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.

    • Z

      Unsolved Approach for a museum video player and selector
      QML and Qt Quick • video museum quick qml selector • • zoulock

      4
      0
      Votes
      4
      Posts
      1420
      Views

      Z

      @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.

    • R

      Unsolved froglogic Releases Code Coverage Tool for Qt Quick and QML Applications
      Announcements • quick qml code coverage • • reggie

      1
      2
      Votes
      1
      Posts
      958
      Views

      No one has replied

    • W

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

      4
      0
      Votes
      4
      Posts
      2699
      Views

      T

      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.

    • Julien B

      Solved Move QML ListView via buttons
      QML and Qt Quick • qt 5.7 qml quick listview • • Julien B

      7
      0
      Votes
      7
      Posts
      8234
      Views

      Julien B

      Thanks @jpnurmi,

      This is exactly what i was looking for, all my issues are solved.

    • Yosemite

      Unsolved Smart way to connect QML GUI objects to C++ audio processing chain?
      QML and Qt Quick • qml quick audio qml audio c++ • • Yosemite

      1
      0
      Votes
      1
      Posts
      695
      Views

      No one has replied

    • mafhoom

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

      3
      0
      Votes
      3
      Posts
      2166
      Views

      SGaist

      Hi and welcome to devnet,

      Why not free anymore ? Looks rather like a licensing issue. LGPLv2.1 has been replaced by LGPLv3.