Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.7k Posts
  • Compile QML application

    3
    0 Votes
    3 Posts
    4k Views
    Q
    Thank you very much. I download Qt libraries version 4.7.3. I configure lib with: ./configure -embedded arm -xplatform qws/linux-arm-gnueabi-g++ -release -prefix /usr/local/Qt-target-full -qt-gfx-linuxfb -qt-kbd-tty -little-endian -host-little-endian -no-opengl -opensource After that i do make and make install. The resulting library has no support for qml. Why?
  • How to insert videos into ListModel

    4
    0 Votes
    4 Posts
    3k Views
    K
    When you say: "no videos are shown" what exactly happens? What I'm interested in is: can you see a thumbnail or anything? Maybe you can post a picture of what you have have you tried different sizes? It could be a problem. I haven't used the Video element, so I don't know if you can resize a video... were you able to load one single video i.e. without model/delegate? Maybe the file type is not supported... Try to describe what you obtain, this way we can see better what the problem could be :)
  • [Solved] How to create such a pattern using QML

    8
    0 Votes
    8 Posts
    4k Views
    T
    You can create circles dynamicly with JS and position them. On odd rows circles start from x=0, x = circle.width, x = circle.width*2, .., x = circle.width * n and on even rows from x = circle.width / 2, x = circle.width + circle.width/2, ..., x = circle.width * n + circle.width/2. Also you can add spacing in calculations.
  • Multi Touch on Meego and Symbian

    4
    0 Votes
    4 Posts
    3k Views
    L
    [quote author="Chuck Gao" date="1309847193"]And pls notice some device doesn't support multi touch.[/quote] Symbian^3 devices such as Nokia N8, E7, C7, etc. support it. Nokia N9 and N950 should also support it :)
  • How to use qml to cut a part of one picture?

    6
    0 Votes
    6 Posts
    4k Views
    X
    As QML is mostly for UI work, I would suggest you expose a 'CropSave' function or similar from the underlying Qt (C++) that you can then call from QML. You'd probably want a whole set of backend C++ functions if you are making a QML image editor program.
  • 0 Votes
    3 Posts
    3k Views
    B
    thanks , Vijay , I think it is the same , I will try that , thanks very much
  • Opengl crashes on mac but work on window

    8
    0 Votes
    8 Posts
    3k Views
    Y
    @/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x7fff89417000 - 0x7fff8941cff7 com.apple.CommonPanels 1.2.4 (91) <8B088D78-E508-6622-E477-E34C22CF2F67> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x7fff8941d000 - 0x7fff8942ffe7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <30FE378B-99FE-8C7C-06D0-A3AA0A0A70D4> /usr/lib/libsasl2.2.dylib 0x7fff8949d000 - 0x7fff894c8ff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <8AB4CA9E-435A-33DA-7041-904BA7FA11D5> /usr/lib/libxslt.1.dylib 0x7fff894df000 - 0x7fff894dfff7 com.apple.CoreServices 44 (44) <616722B1-5E79-DCCF-BF5E-0DD5802CCBD9> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x7fff89705000 - 0x7fff89706fff liblangid.dylib ??? (???) <D0666597-B331-C43C-67BB-F2E754079A7A> /usr/lib/liblangid.dylib 0x7fff89707000 - 0x7fff897d2fff ColorSyncDeprecated.dylib 4.6.0 (compatibility 1.0.0) <E72880D9-3B5D-D086-9266-F4F3C294619F> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ColorSync.framework/Versions/A/Resources/ColorSyncDeprecated.dylib 0x7fff897d3000 - 0x7fff89814fff com.apple.SystemConfiguration 1.10.8 (1.10.2) <78D48D27-A9C4-62CA-2803-D0BBED82855A> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x7fff89815000 - 0x7fff8983aff7 com.apple.CoreVideo 1.6.2 (45.6) <31802A1C-81BC-33F8-D5C8-39A793D4D926> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x7fffffe00000 - 0x7fffffe01fff libSystem.B.dylib ??? (???) <9AB4F1D1-89DC-0E8A-DC8E-A4FE4D69DB69> /usr/lib/libSystem.B.dylib Model: MacBookPro8,2, BootROM MBP81.0047.B0E, 4 processors, Intel Core i7, 2.3 GHz, 8 GB, SMC 1.69f1 Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB Memory Module: global_name AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 5.100.198.104.5) Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports Network Service: Ethernet, Ethernet, en0 Serial ATA Device: Hitachi HTS725050A9A362, 465.76 GB Serial ATA Device: MATSHITADVD-R UJ-8A8 USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2 USB Device: IR Receiver, 0x05ac (Apple Inc.), 0x8242, 0xfd110000 / 3 USB Device: FaceTime HD Camera (Built-in), 0x05ac (Apple Inc.), 0x8509, 0xfa200000 / 3 USB Device: Hub, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2 USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 5 USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x821a, 0xfa113000 / 8 USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x0245, 0xfa120000 / 4@
  • In qml how to improve the listview's speed when switch page?

    7
    0 Votes
    7 Posts
    6k Views
    T
    @ i have same problem with you; i have some ideas: 1,create the custom listview, but i find the listview in qml can not inherit 2,set the contentX or contentY dirently after a pan event; but i find some conflicts with the nature animation if you have some advises,you can use tigriswing@gmail.com @
  • QML - ListModel

    8
    0 Votes
    8 Posts
    4k Views
    F
    [quote author="Vijay Bhaska Reddy" date="1309622586"]@ import QtQuick 1.0 ListModel { id: myListModel ListElement { name: "Bill Smith" number: "555 3264" } ListElement { name: "John Brown" number: "555 8426" } ListElement { name: "Sam Wise" number: "555 0473" } } import QtQuick 1.0 ListView { width: 180; height: 200 model: myListModel delegate: Text { text: name + ": " + number MouseArea { /// add your mouse area code here... } } @ [/quote] Damn, I still can't get it . I even tried editing this http://projects.developer.nokia.com/QMLTemplates/wiki/WikiStart#accordionlist I need to study more I guess. :(
  • How to improve qml application program's speed

    8
    0 Votes
    8 Posts
    5k Views
    EddyE
    Thanks matrixx, You certainly know where to get good stuff! Cheers, Eddy
  • [SOLVED]GeoHelper plugin - doesn't work?

    5
    0 Votes
    5 Posts
    3k Views
    C
    That;s what I was looking for!+) THANKS A LOT - SOLVED
  • [Solved]QML - Making menus

    8
    0 Votes
    8 Posts
    6k Views
    F
    [quote author="paulo" date="1309529752"]Check QML Templates on "Forum Nokia":http://projects.developer.nokia.com/QMLTemplates/wiki/WikiStart#accordionlist !http://projects.developer.nokia.com/QMLTemplates/raw-attachment/wiki/WikiStart/accordionlist.png(Accordion)![/quote] Duuuuuuuuuude! Thanks! This is definitely what I've been looking for. :D. Edit: How do I make the listelements clickable?
  • QML + webcam (frame grabber)?

    3
    0 Votes
    3 Posts
    4k Views
    S
    I have not messed with a webcam in ages so please excuse me if this sounds ridiculous. If the webcam puts stuff in a file you could always just use the the QML Video Element from Qt Mobility to display it. It would be great to link your webcam into it through @ source: "webcam feed.avi" @ Like I said though I don't know how/if this would work. Here is the documentation on the video portion of Qt Mobility. - "QML Video Element":http://doc.qt.nokia.com/qtmobility-1.1.0-beta/qml-video.html
  • How to implement custom titlebar?

    4
    0 Votes
    4 Posts
    11k Views
    A
    Or you can handle mousePositionChanged on QML side. @QmlApplicationViewer viewer; ... viewer.rootContext()->setContextProperty("mainwindow", &viewer);@ @TitleBar { id: titleBar; width: parent.width; height: 40; opacity: 0.9 MouseArea { id: mouseRegion anchors.fill: parent; property variant clickPos: "1,1" onPressed: { clickPos = Qt.point(mouse.x,mouse.y) } onPositionChanged: { var delta = Qt.point(mouse.x-clickPos.x, mouse.y-clickPos.y) mainwindow.pos = Qt.point(mainwindow.pos.x+delta.x, mainwindow.pos.y+delta.y) //console.log(mouse.x-clickPos.x,mouse.y-clickPos.y) } } }@
  • Can we start using qt-quick-components for symbian in our apps

    2
    0 Votes
    2 Posts
    2k Views
    T
    Can some "TROLLS" help me answer this???
  • Render Qml efficiently on GraphicsView

    3
    0 Votes
    3 Posts
    3k Views
    Y
    Thanks Lukas for the reply. Is there render performance difference comparing the QDeclarativeView with QDeclarativeEngine? Also, i did the following but the qml rendering is still not smooth. Any other advices? anyone? @ scene->setStickyFocus(true); scene->setItemIndexMethod(QGraphicsScene::NoIndex);@
  • [WIKI] Smooth Image Flicking in Qt Quick

    2
    0 Votes
    2 Posts
    2k Views
    M
    Good stuff, I've added category and ToC to it. http://developer.qt.nokia.com/wiki/diff/Qt_Quick_Image_Viewer for details
  • List of Qt Quick examples and demos

    2
    0 Votes
    2 Posts
    4k Views
    M
    Nice wiki page, cheers :)
  • ListView: elements dragged out of bounds

    2
    0 Votes
    2 Posts
    4k Views
    D
    clip property will work it out. Look into Assistant for more info
  • [Solved]CSS in QT

    5
    0 Votes
    5 Posts
    3k Views
    F
    Thank you! :).