Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • [SOLVED] string endsWith in QML for url detection

    5
    0 Votes
    5 Posts
    5k Views
    A
    Well i gave that a try and works perfect thanks for your help
  • Home_Control_Demo for Qt Quick 2.0

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    3 Posts
    1k Views
    R
    But i had seen that there are many APIs in QML that can be used in place of C++ . Somthing like Qt Mobility etc. etc.
  • Looping threw model items with marquee

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    T
    qmlEngine and QDeclarativeEngine::contextForObject returns NULL in class A constructor. I've done creating additional internal components in A::onCompleted - there i can get pointer to engine from qmlEngine function.
  • QML dependencies???

    8
    0 Votes
    8 Posts
    5k Views
    C
    See http://qt-project.org/wiki/Building-Qt-5-from-Git for more details on building Qt5, including various library requirements.
  • Phonebook Contact Backup using QML

    2
    0 Votes
    2 Posts
    1k Views
    R
    Any one have any idea how to solve this problem !!
  • Poor text/font anti-aliasing on Symbian device

    5
    0 Votes
    5 Posts
    2k Views
    T
    I finally had time to test the setRenderHints suggestion and that one didn't work either. I asked the same question in Stack Overflow and received an answer from user blakharaz: "I had that problem too. The only solution was to go back to use the fonts preinstalled on the device." Looks like I'm also giving up on custom fonts and go back using default preinstalled fonts.
  • 0 Votes
    6 Posts
    4k Views
    B
    @ioncube, thank you so much. After several hours of trying all the things you tried, I came across your post. Interestingly, when using this method, the TextInput seems to ignore the Qt::Key of the QKeyEvent, and just uses the text. It also ignores modifiers. I wonder why this is; I couldn't find anything about it in any documentation.
  • [solved]Why Number function sometimes gets some unpredictable real parts?

    3
    0 Votes
    3 Posts
    2k Views
    M
    That is a good reference. Thanks for the link!
  • Pass ARGB32 (not Premultiplied) image data to a ShaderEffect?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QML signals/slots: can't pass QObject* to slot

    6
    0 Votes
    6 Posts
    3k Views
    P
    My classes extends QObject, so they have not public copy constructor compilation fail with error: In file included from ../Test/main.cpp:3: In file included from /usr/include/qt4/QtDeclarative/QtDeclarative:3: In file included from /usr/include/qt4/QtCore/QtCore:4: In file included from /usr/include/qt4/QtCore/qabstractitemmodel.h:45: In file included from /usr/include/qt4/QtCore/qvariant.h:48: /usr/include/qt4/QtCore/qmetatype.h:142:16: error: calling a private constructor of class 'ClassA' return new T(*static_cast<const T*>(t));
  • XmlListModel - Loading large XML file causes crash

    3
    0 Votes
    3 Posts
    2k Views
    S
    Thank you. I'm using qt 4.7.4 and it works fine in the simulator, it only crashes on the actual devices ( C7 and E7). Everytime it crashes the only message i get is "Thread has crashed: Thread XXXX has panicked. Category: USER; Reason: 0".
  • Break cycle of the PathView

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [resolved] Newbie at Qt. Doubt how to add Resource Files in a Project.

    4
    0 Votes
    4 Posts
    2k Views
    D
    Resolved.
  • Odd behavior when passing value through WorkerScript

    4
    0 Votes
    4 Posts
    2k Views
    O
    This seems not working each time. A better idea is to use @property string t1@ then convert it int in the test.js @parseInt(t1)@ [quote author="owenzhao" date="1339232752"]Currently , the only way is using parseInt() and toString() together, like @parseInt(new Date().getTime().toString())@[/quote]
  • [SOLVED] ListView delegates and offsetting

    6
    0 Votes
    6 Posts
    4k Views
    A
    i solved this issue like so @ property int xx: 8 %iconModel.count property int yy: 155 x: if(iconModel.count < 9){(yy * xx) /2 }else{ 0 } @ so the remainder of what iconmodel.count is in my case was 7 with a remainder of 1 * the space required and cut that in half gives me my position :)
  • QML Textfield & Virtual Keyboard & PageStack on Meego Harmattan

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Delet a QML page from pagestack

    3
    0 Votes
    3 Posts
    2k Views
    L
    Use pageStack.find to get the page which you want to pop up.
  • Animating an image

    10
    0 Votes
    10 Posts
    3k Views
    M
    See http://qt.nokia.com/downloads/downloads#qt-lib bq. The source code is available as a zip (260 MB) or a tar.gz (228 MB). Or visit the repository at qt.gitorious.org/qt. It would be under .../src/declarative (and some headers strewn about) Just a warning... There's a lot of code involved, though. Again, though, I ask... what is it that you're trying to accomplish? If you describe what you're trying to do, we can probably give you better feedback as to whether the timer mechanism is sufficient.