QGraphicsItem rotation transform
Hi all, How to rotate a QGraphicsRectItem arround its center not arround it local coordinate origin ? in my case : Rect(40, 8) ==> rotation around the point (20,4) I tried by...
View ArticleQuestion: write a simple browser of data.
Hi, I’m developing notifyfs, a fs event monitor and entry cache. The entries do have an index: ordered on name. What I want to create is a simple filebrowser with above line to enter the directory, and...
View ArticleHow to Use and set Variables from other struct i think it is called (void)?
How to Use and set Variables from other struct i think it is called (void)?
View ArticleDesktop and Mouse event
Hello, good afternoon, I am trying to determine when the mouse passes over the edge of the desktop, for this I am using QDesktopWidget With QDesktopWidget screen I get the QWidget on the desktop, I’ve...
View ArticleRebuilding Qt 5 (MSVC) from source wihtout breaking SDK structure
Because of recent discoveries of dependencies not needed for Qt 5 apps, it has become necessary to rebuild with those items removed. Specifically OpenGL and Webkit. These create a need of many DLLs...
View ArticleHow to put a qlineedit text into a variable?
How to put a qlineedit text into a variable?
View ArticleQGraphicsSimpleTextItem under Qt 5.0 no longer draws outline
Hello all, I have a simple desktop app under Qt that started as a 4.8 project and has been ported to 5.0 however upon doing so the QGraphicsSimpleTextItem class now seems to function differently. I...
View ArticleQFont setFixedPitch works in Qt 4.8, not in 5.0
I am using QFont’s setFixedPitch in various places in my code in Qt 4.8, and it works perfectly. All the characters including letters, numbers, and blanks line up in perfect columns. But in Qt5.0, the...
View ArticleNeed Help for tabs in title bar
Hi, I am developing document reader for my college final year project using QT 4.8.4. I want to implement tabs in tile bar ui (like chrome) in cross platform manner. I tried many things but not able to...
View ArticleMultiple data in different columns
I have a QListWidget and am trying to put data into two different columns, for example: QTreeWidgetItem *ItemId = new...
View ArticleQGraphicsScenes move
Hi, I have two QGraphicsViews with two QGraphicsScenes up down,and they zoom in same size with the same attributes. [Turn on QGraphicsView::ScrollHandDrag ,disables scrolls with...
View ArticleWhat am i doing wrong with QFile::resize?
Qstring oldName = (”/home/myusername/Desktop/11.txt”); Qstring newName = (”/home/myusername/Desktop/22.txt”); bool QFile::rename ( const QString & oldName, const QString & newName );...
View ArticleQCoreApplication and QApplication in two threads (MATLAB communication using...
Hello all, I’m facing a weird issue but before let me explain what I’ve done. The goal is to make Matlab communicate with a Qt Gui application I’ve developped. I choose communicating using sockets and...
View ArticleΧρήση του Qt το 2013;
Αγαπητά μέλη του Qt Greece group, Με αφορμή την νέα χρονιά στην οποία μπήκαμε, ήθελα να ρωτήσω τι “κινείται” στην Ελλάδα ή/και σε ελληνικές εφαρμογές σχετικά με Qt. Ετοιμάζετε κάτι καινούργιο;...
View ArticleAnything like the linux tool called "expect" in Qt?
Hello, under linux there is a handy tool called ‘expect’ that makes communication to serial devices like gsm-modems really easy and comfortable. Is there anything similar in Qt that works on different...
View ArticleQTcpSocket Returning Error -1
I am trying to create a very simple TCP connection using QTcpSocket and QTcpServer. The server appears to be receiving the connection fine. The client, though, is returning error -1. Does anyone know...
View ArticleQML Videos
-Hey guys, I’m working on a project where I need to integrate videos in to a Qt Quick project. I have no C++ files/plugins to it at this time and preferably I would like to do it without that if I can....
View ArticleQt5 installation command line
hi, i have a setup that does not have any X11 but needs Qt5 … i have the binary but it wants to connect to the X11 server but i do not have it there. can i install it command line? where can i find the...
View ArticleQtGUI do not want to be build
My configuration line is: configure -platform win32-msvc2012 -mmx -sse2 -openssl -confirm-license -debug-and-release -opengl-es-2 -openvg -no-s60 -qt-zlib -qt-libpng -qt-libtiff -qt-libjpeg -webkit...
View Article