Qt Application to do Linux Command
Bismillhirrahmanirrahim, I use QtCreator on Ubuntu. I wanna make an application that replace some Linux command. In example, if I click a button, it is same with bash command: cp...
View ArticleThreads and GUI
Hi, I am relatively new to Qt, so excuse my ignorance. I have a Qt application with a main window and a TCPServer. The TCPServer is forking, in the sense that it creates QThreads and pushes worker...
View ArticleQWebView wait load
Hello all, i try to load some site, but QObject::connect(&view,SIGNAL(loadFinished(bool)),&loop,SLOT(quit())); does not work (slot never calls, but site displayed correclty). It’s...
View ArticleAppending and reading from the end of a file.
Could any one help me in modifying this snippet of code or rewriting from scratch, to append a text to the end of the file and then read that text from the end of the same file. The text has a length...
View ArticleImages Slider in GUI
Bismillahirrahmanirrahim, How to create a simple image slider? An absolute example, that inspires me intensely, is Ubiquity in Ubuntu. If you install Ubuntu, you will face an installer which is show...
View ArticleJson import
I am importing from a QJsonDocument and it was working until i gave it a header and it stopped here is the code any suggestions
View ArticleQLabel output freezes when outputting data from separate process
Hello, I have two processes (One from Qt and one external) which I am using QSharedMemory as my IPC for. In my Qt GUI I have a separate thread that emits a signal to update my QLabel outputs every 100...
View ArticleQML and Qt ?
Can I develop same application either Qml or QT?And QML is fully supported for Desktop environment ?
View Article[SOLVED] Uppon including QCamera i have "mediacontrol.h: No such file or...
I am on ubuntu 13.04 with qt 5. i have run the command sudo apt-get install qtmobility-dev and my mainwindow.cpp #include "mainwindow.h" #include "ui_mainwindow.h"...
View ArticleQML Draw order
How does QML draw order work, especially given that QML is declarative rather than imperative? If I have this code: import QtQuick 1.1 Rectangle { id: outerRect...
View ArticleResizing a Widget on the fly
I have two QTextEdit objects, side by side. The one on the right contains text being edited, and the one on the left contains notes about the text. This is similar to the way that QtCreator displays...
View ArticleCalling a function from a new state
I have a sqlite database, I’m using a function to load the database. I can only get the database to show the contents in all the states not just specific states. Can’t I just call the function in say...
View ArticleQImage: Make similar pixels of two images transparent
Is there a method/library that will only make specific pixels in the destination image full-transparent? That is, the pixels in the destination image that match the given source image. peili
View ArticleQfileSystemModel : removes rows that gaps can exist within them
since bool QAbstractItemModel::removeRows ( int row, int count, const QModelIndex & parent = QModelIndex() ) can only removes rows in one piece, next to each other without any gaps....
View ArticleCan't connect to SQLite DB
Doing my first steps in Qt Creator and lost already: To a basic, otherwise unchanged starting app from the Qt wizzard, I have added `sql` to the project file QT ...
View Articlehow do we support 4inch iphone5 screen
Hello guys, I tried the ios port of Qt, the problem is that the window size is always 3.5 inch. I have a 4inch iphone 5, so I have two black bars around the application. How do we support 4inch screen?...
View ArticleQML property Plugin question
Hi all, is it possible to update a property in a qml file from a c++ plugin? I want to create a plugin that will test all my property onChange events. In QML property int someProp: 0 ...
View ArticleGetting QList from Another Thread
Hi, I’m a bit confused as to how I’m supposed to used invokeMethod, which I understand is the best way to exchange data across threads if I don’t want to use a signal/slot. However, I keep getting a...
View Article[Solved]Make the icons background become transparent
import QtQuick 2.0 Rectangle{ id : root width : 1024 height : 768 Column{...
View Article