Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.7k Posts
  • Looking for LinkedIn API in QML

    2
    0 Votes
    2 Posts
    2k Views
    L
    I doubt that you can find LinkedIn QML API. But since "LinkedIn API uses OAuth 1.0":http://developer.linkedin.com/documents/authentication you can extend you QML app with C++ source code at to integrate "liboauth":http://liboauth.sourceforge.net/. "An example usage of liboauth with LinkedIn API is available here":http://developer.linkedin.com/forum/accessing-linkedin-using-liboauth-and-c.
  • Embedding Qml inside C++ QWidget

    2
    0 Votes
    2 Posts
    2k Views
    sierdzioS
    The bug report you mention was recently updated - this functionality will be added in Qt 5.1.0.
  • [Solved] Ubuntu qt components installation error

    10
    0 Votes
    10 Posts
    7k Views
    T
    You are right. It's syntax check. Thank you!
  • High CPU usage when the view containing animation is not shown

    5
    0 Votes
    5 Posts
    5k Views
    X
    Thanks, again. My application is already pass/call data and functions between C++ and QML. What I really want to know is how I can notice the window is obscured by other window, so that I hide or stop animation. Anyway, I reported this problem, and it is confirmed as a bug. https://bugreports.qt-project.org/browse/QTBUG-29137
  • Qtquick.qch and qtqml.qch error in Qt5

    2
    0 Votes
    2 Posts
    1k Views
    T
    Did you "check the bug tracker":https://bugtracker.qt-project.org/ whether this is a known issue? Please report a bug if it is not.
  • QML Videos

    5
    0 Votes
    5 Posts
    2k Views
    S
    Even before you can import the QtMultimediaKit you have to enable Mobility in the .pro file. Inside the .pro file you need @CONFIG += mobility MOBILITY += multimedia@ Then import in the qml like you were previously doing. Hopefully this is all that the problem is. Good luck.
  • QML Debugging

    2
    0 Votes
    2 Posts
    1k Views
    C
    QtCreator provides a lot of built-in QML debugging helpers. I suggest you use QtCreator for debugging QML applications. If you want to manually debug and monitor sections of code, you can use the console API provided - see http://doc-snapshot.qt-project.org/5.0/qtquick/qtquick-debugging.html for more information. Cheers, Chris.
  • Int to char conversion

    9
    0 Votes
    9 Posts
    30k Views
    B
    [quote author="leon.anavi" date="1359033022"] [quote author="BelenMuñoz" date="1359030558"] char a = (char)i; [/quote] This is a C style cast and in C++ code it is high recommend to use static_cast. Example: @ int nMyInt = 65; char nMyChar = static_cast<char>(nMyInt); QChar char(nMyChar); @ [/quote] Thanks for the reply, I still have bad habbits from C.
  • [Solved]QtDesktop Components crash when mouse move

    3
    0 Votes
    3 Posts
    2k Views
    I
    [quote author="Jens" date="1359010366"]This was actually fixed yesterday. See https://codereview.qt-project.org/#change,45422 for details. [/quote] thanks very much,I'll try it immediatly。
  • Newbie question :flipable ListElement

    1
    0 Votes
    1 Posts
    747 Views
    No one has replied
  • How to append new elements at the top of ListView

    2
    0 Votes
    2 Posts
    961 Views
    D
    I personally would use insert on ListView's model to insert in beginning and ListView's method positionViewAtBeginning() (I have not tested if that works but it should). That example you have pointed at is not very good way to do in my opinion but that should work as well.
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • Looking for good HowTo's or Tuts to get in

    6
    0 Votes
    6 Posts
    2k Views
    F
    Hi formax, we have a couple of tutorials about getting started with QML on our site as well. It is sometimes gaming-specific, but the concepts of QML are also explained. You can find them here: http://doc.v-play.net/vplay-getting-started.html And a more advanced tutorial how to make a pong game here: http://doc.v-play.net/howto-pong-game.html Cheers, Christian
  • About using QDateTime::fromString

    5
    0 Votes
    5 Posts
    3k Views
    S
    has fixed , that's should be follow code: @ QDateTime date = QDateTime::fromString( "2013-1-12 14:53:42" , "yyyy-M-d h:m:s" ); QString strDate,strTime; do { strDate = date.date().toString();//empty strTime = date.time().toString();//empty } while (false); @
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • Import a plugin inside a javascript file

    6
    0 Votes
    6 Posts
    2k Views
    I
    You are my man, thank you! That works perfectly! Here my solution: @ .import MyPlugin 1.0 as My My.ClassName.TestFunction(); @
  • QT5 QGraphicalEffects 1.0 OpacityMask systematic Error at runtime

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    9 Posts
    3k Views
    sierdzioS
    Here is a "guide":http://qt-project.org/wiki/Building_Qt_5_from_Git for you, then. If you are not using QtWebKit, I strongly suggest deleting/ renaming it's folder to avoid it's compilation (you can also disable it in init_repository if you choose to clone from git). It takes a very long time to compile.
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • [Solved] Cannot use QtQuick 2.0 in Visual Studio 2010 Express

    7
    0 Votes
    7 Posts
    4k Views
    sierdzioS
    Great :) Please add [Solved] to the topic's title. There are also other header changes in Qt5, you can change them with fixqt4headers.pl tool, and/ or the "porting guide":http://qt-project.org/doc/qt-5.0/qtdoc/portingguide.html.