How to get the current application style name
Hi all, ¿How can I get the current application style name? I want to get one of texts returned by QStyleFactory::keys(). Regards
View ArticleQml Library
Hi everyone, I have seen that it is possible to create a library from C++ so it can be used as a plugin in QML. I was wondering if it was possible to do the same but from QML to QML. I have some custom...
View ArticleQt application not a valid 32-bit application
I made a simple Qt application. Everything is working well on mt PC. I use Windows 7 SP1 and Qt Creator for building and debugging. When I try to run my program on Win XP I get the error “Not a valid...
View ArticleBuilding Qt3D
Hi. I can not build Qt3D by QtCreator on Windows7. qmake.exe worked without a error, but jom.exe reported “Qt3D/qglpainter.h: No such file or directory” for linies look like as “#include...
View ArticleAccess class member from another class only
I am writing two classes: MyClassA, MyClassB, none derived from the other, but MyClassB stores and uses objects of type MyClassA. I would like to expose both classes to the user, but I would like some...
View ArticleUnable to build examples app on Mac OS X Mavericks: Qt 5.1.1
Just downloaded/installed Qt 5.1.1 on Mavericks. Trying to build the examples app (Qt5.1.1.1/5.1.1/clang_64/examples/examples.pro). Very bad out-of-the-box experience so far (using Qt Creator 2.8.1): -...
View ArticleLogin issue while posting on the forum with Firefox 25.0.1
I wanted to post a question on the forum a few minutes ago. I wrote the whole question and message body, previewd the post (correctly) a few times. Then I finally pressed the Submit Post button (while...
View ArticleChange order of objects in a column layout?
I am populating a column layout dynamically with objects, but I need to be able to reorder the elements later on. I didn’t notice anything on the subject on the documentation, and qt quick seems to be...
View ArticleQt compilation exited with code -1073741515
Hi, I am developing an image processing application in Qt. I had problems with libs. I tried commenting all the libs, which I was not using. Now the build happens correctly. But I get this error when I...
View ArticleDashboard problem
I don’t understand what happen with dashboard. I don’t can create users and usersgroup ans set permisions correctly. When I created new usergroup for example I see next:...
View Articlehow to resize multi Qwt plots so that they can automatically fit in main window?
Hello, I am implementing a multi channel plots window by using Qt and Qwt. I actually worked on one example from Qwt download package, which is “plotmatrix”. Now I have one problem. The original...
View ArticleDownloadable Documentation for 5.1
Good Afternoon, I am looking for a downloadable QT 5.1 class reference. I don’t always have internet accessibility, thus this request. I am moving a client from wxWidgets to QT. So I am rewriting the...
View ArticleChecking is a drive is readable in Qt pops up a "no disk" error in Windows 7
Here is a snippet of code: QStringList getAvailableDrives() { QStringList drives; QFileInfoList fiList = QDir::drives(); ...
View ArticleQSpacerItem for QML?
Hi all, I’m looking for an equivalent of QSpacerItem for use with Qt Quick Layouts. No luck so far. Does such an element exist yet?
View ArticleQuestion about order of execution by property change.
my code is like below. ClassA.qml Rectangle { ClassB { id:b } MouseArea { onClicked: { b.propX = false; ...
View ArticleHow to Get string and drawtext?
I need your help! I’m over 20 hours stucked in my case couse iam a bad programmer :( This is my non answerd thread by stackof! Please some one help me!...
View ArticleAdd a method to all QML code
I’m looking to provide a way to integrate QML with a lua environment. What I need to do is have a method callable by each element in QML that will in turn execute lua code. So something simple like:...
View ArticleQline edit's Signal is not working as expected
Dear All, I am trying to develop an application, where in i want to store the user data. I have used different lineedits to take the inputs from my user…i have also apply some validators to some...
View Article[solved] Qt qmake compiled program is 4 times slower than compiled with cmake!?
Hi, may you can help me, cause I’m quite new to linux, qmake and cmake and therefore absolutely do not know why I get the following results. I intend to use a c++ library in my Qt project. You will...
View ArticleUnable to load DLL QT with C#
Hello all, I have this code QT in “mydll.dll” __declspec(dllexport) void Test() { qDebug() << “messaggio da DLL”; } If i use this code with a program c#, i get the following error: Unable...
View Article