Center an object in OpenGl
I’ve made a 3D space where I put my 3d draw. After the object is drawed, I’need to centrate it, showing better the result. Actually the zoom in/out from the render area is on the origin of the axis, so...
View ArticleHow to get Screen Coordinates of a QML Item?
I have a QQuickView that displays a scene. I want to know at which screen coordinate a certain QML item is located at. I know from inside the QML I can call myItem.mapToItem(null, myItem.x, myItem.y)...
View ArticleDeploy Qt Quick app on WIndows
I created an app to learn a few things about Qt(creating cross-platform apps is something I like). Linking Boost on was a bit though, but I did it after a few days (programming is heuristic after all)...
View ArticleQt Creator - Quick 2.0 Designer
Hello, I can’t seem to get Qt Creator 2.8.1 working with the QML designer in Ubuntu 12.04. When I open a QML file and go to the “Design” button the screen switches to the designer but I don’t see any...
View ArticleQSerialPortInfo::availablePorts() crashing on osx
Hey guys, I’ve been using QtSerial in Qt 5.1 and it seems to work fine in linux and windows but when I compiled and try it on OSX I get a malloc: *** error for object 0×1040b0000: pointer being freed...
View ArticleQT 5.1.0 Integration with VS 2012 Cant Build Converted VS 2010...
Hi there! I’m having difficulties building a project that I inherited. Specifically, it was a QT 4.8.4 project that was developed in Visual Studio 2010. I have been asked to upgrade the project and am...
View ArticleAndroid screen resolution problem
Hi All, How can we set the screen size and the controls width and height in an Android device. The problem is that, i can run the same application in Windows and Android. But in Android the whole...
View ArticleQtQuick in Qt 5.1.1 Android version
Hi, I was trying to build a Qt Android application using Qt 5.1.1 Android version. I have successfully created Qt GUI application in Android. But can we create an Android application using QtQuick 2.1,...
View Article[SOLVED] displaying QSlider value in QDebug() using QThread
I am implementing a simple function where slider value is constantly displayed on label and qDebug(). I already got the label updated using signal/slots, but somehow the qDebug() thread is not working...
View ArticleHow to Update library files from remote?
hi friends, I want to upload&upadte the library files of my embedded system from remote. So i want to make my ARM System as server or something. so that i can update the system in the remote...
View ArticleAccessing objects inside form
so im a beginner in qt. my question is let’s say i created something in the form of the qt gui application. how can i access that inside the c++ code ?
View ArticleHow to Remove the Header in QTableView?
As shown in the Image below, How can i remove the unwanted header section ? I tried using setStretchLastSection(), But I don’t want to stretch it. Without Stretching the Last Section how can i remove...
View Articlenative compile on armel
configure: ./configure -v -opensource -confirm-license -icu -qt-xcb -make libs -no-pch -device imx6 -opengl -prefix /opt/qt5.1-armel -device-option CROSS_COMPILE=/usr/bin/arm-linux-gnueabi- make then...
View ArticleQt for Embedded ARM
Is it possible to use Qt to code against ARM Processors, natively ? (E.g. no Android or Linux etc.) If so, could somebody point me in the right direction to get started :-) Kindest Regards
View ArticleHow to add/find items to a model at a specific index
I have a tree model with 4 branches of the root. Now during runtime one of the branches should get children. The question is: How do I find/remember the right branch/item to add the children to? I...
View ArticleChange the size of a QLabel inside the program
Greetings. I wanted to know if you can change the size of a QLabel inside the program. The problem is as follows: I have a dialog box that shows, among many other widgets, a QLabel in which displays an...
View Article'QtCore4.dll' not found
I cannot use my project built in Qt4, in other computer which hasn’t Qt. It requires ‘QtCore4.dll’. How can I use it?
View Article[RELEASE] CYOSB
CYOSB – Create Your Own Simple Bot With this tool you will be able to create your own bot for Windows, with the intention to help you in as many ways as possible. It shouldn’t be necessary to install...
View ArticleQT + system command
Hi all, I am trying to trigger a command “sudo apt-get install —only-upgrade [mysoftware]” in qt so that the linux will update my software when i click update manually. Following is piece of code thats...
View ArticleNo default repositories in Maintenance Tool
Hi, when I start MaintenanceTool.exe (Windows 7, Qt 5.1.1, MinGW 4.8), all I can do with it is remove all components. For the package manager or updates, I need a repository. The “Default repositories”...
View Article