Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • 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.
  • Using C++ Library in QML

    17
    0 Votes
    17 Posts
    11k Views
    F
    This thread is continued "here":http://qt-project.org/forums/viewthread/17435/.
  • QZXing compiling error for symbian

    6
    0 Votes
    6 Posts
    3k Views
    F
    First thing, have you seen my post to your "other thread":http://qt-project.org/forums/viewthread/17391/? Also if you are targeting Symbian Belle i would suggest you update through Qt Creator packet manager to get the Symbian Belle toolchain (i will guest you have Symbian Anna toolchain). Next be sure to copy the correct binary version of QZXing to the correct folder. Finally the most important thing, donwload the latest version of the library files. I just figured out from your other post that you have downloaded the library from a repository that is outdated (https://github.com/zxing/zxing). The correct repositories you have to take a look at are: The "QZXing's project page":https://projects.developer.nokia.com/QZXing/browser The official and most up to date "ZXing site":http://code.google.com/p/zxing/source/checkout . In there under the folder Symbian you will find QZXing once again (The first option is recommended since you won't have to download other unnecessary files. ) So do all the updates, try it once again and get back to us with the result.
  • Qt mobility 1.1.0 with Qt 4.7.0 help

    21
    0 Votes
    21 Posts
    11k Views
    M
    You didnot have to go through that much trouble. There seems to be a problem with the path variable. make sure that you have given it correctly and that all the extensions are separated by ";". Hope it helps
  • Q: Loading colors from QML offline database ?

    3
    0 Votes
    3 Posts
    2k Views
    ?
    Hmm, I think you're right. I never thought it wouldn't work because I've been able to return the value on web projects for example. I tried this on my MainPage.qml: @Component.onCompleted: console.log(Database._Load_ColorTheme())@ And guess what... It gives me 'undefined'! So how I'm supposed to do this then? I got an idea, that I could use 'Label' or 'Text' components, and load the new color from a 'text' variable. But after all, this should work like a Javascript in any other situation, right .. ? So what's going wrong here?
  • 0 Votes
    3 Posts
    10k Views
    C
    Yes, the assignment form in your first post won't cause a binding. In QtQuick 1.x you can use a Binding element, and in QtQuick 2.0 you can either use a Binding element, or use the "initial property values" argument to the setSource function of the Loader, along with the Qt.binding() function, to generate a binding.
  • Qt3D

    3
    0 Votes
    3 Posts
    2k Views
    C
    Thanx sooooooooooooooooooo much I solved by your help of course