What's wrong with this MouseArea logic
My guess is the string representation of parent.color isn’t “blue”, causing your condition to always fail, even once you’ve set it to “blue”. Try using the HTML color code for blue (”#0000ff”) instead....
View ArticlePreventing an image from overlapping its parents corners
Good day fellow programmers, we need your help designing our awesome new software. The situation: We’ve designed an item which consists of a rectangle with rounded corners and a small frame. This items...
View ArticleAnimatedImage - unable to read MNG files
Check wether you have the mng plugin in the imageformats folder
View Articleqt 5.1 list of attr. too long
hi, thanks for the answer. no the path is not long, just in my documents folder. i don’t think i messed smth up with the dlls. i just copied them of the compiler dir (…\Qt\5.1.0\msvc2012). and no, i...
View ArticleQtQuick in a terminal
Hello everyone, what do I need to make this QtQuick project work? When I try to compile it with : $ qmake -project $ qmake $ make and launch it, it prints module “QtQuick” version 2.0 is not installed...
View ArticleQt5 ListView switch items animation
Hi is there is a way to change animation of switching items in ListView? thanks
View ArticleQt Quick Controls Styling MenuBar
Anyone knows how to style the MenuBar in the new Qt quick Controls? It has a style property but it apparently lacks a MenuBarStyle, so does anyone know how to just change the color to some gradient of...
View ArticleWhat's wrong with this MouseArea logic
This is due to the comparison semantics of color properties. You can assign a string to a color (and it will do some clever conversions) but you cannot compare a string with a color and expect a...
View ArticleQtQuick in a terminal
Use QGuiApplication with Qt5, instead of QApplication. You need “QT += quick qml gui” in your .pro. Cheers, Chris.
View Articlemultiple cameras
I am new at the QtMultimedia 5.x QML interface, but I tried this super simple QCamera demo below and it worked perfectly. It sees the camera and displays the viewfinder for me. This is the basis for an...
View Article[Solved] Error: forward declaration of 'class QQmlContext'
You’re welcome ! A little learning curve… Happy coding :)
View ArticleQtQuick Controls 1.0 Designer style and actual style
I’ve downloaded Qt Creator 2.8 Enterprise and played a bit with the new QtQuick.Controls 1.0. On thing that bugs me is that what displayed in the designer resembles the typical Windows style with for...
View ArticleWhat's wrong with this MouseArea logic
I found that if I used the following code, I encountered this error message: “Error: Unable to assign QColor to QString.” Rectangle { anchors.fill: parent ...
View ArticleAdd elements dynamically to SplitView
Hi, I want to add elements to SplitView dynamically eg. onMouseClick, but so far I didn’t find the answer. What I’ve found out so far is that the SplitView has it’s default property set to it’s first...
View Articlejavascript trans data to qml have problems
I use a way to solve this problem, use result as a parameter in getCurweatherInfo(cityName, result),it can be ok. PS: it seemed very silly,because I am a javascript and qml freshman.
View Articlemultiple cameras
Sorry, QML is currently outside my competence… You’ll have to test or maybe ask on the mailing list (there you’ll find Qt developers/maintainers this forum is more user oriented)
View Articleusing inpaint of opencv in qt
I am using inpaint from opencv. I am getting an output when I compile it with g++(i.e g++ impaint.c `pkg-config opencv —cflags —libs`). I have planned it use in qt. I am getting an error message...
View ArticleStandard example: Texture in SGNode - Rendering FBOs
Take two stock examples and replace logo renderer (one cpp for 2 examples) to this dummy: http://pastebin.com/peYzuwss Multi-threads version works well – draws green rectangle Single thread blink green...
View ArticleStandard example: Texture in SGNode - Rendering FBOs
3) Also, multi-threads version doesn’t work in win7 (x64, opengl). ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x502 because of sharing with other context...
View Article