Statically Compile Ressource File
First, English isn’t my first language…. I learned all i know about programmation on youtube so, if you have any ! any ! constructive comment, please write it, i will be very happy! My problem is that...
View ArticleQPainterPath will not add a null element
AFAIK it is undocumented that appending a null element, for example a lineTo(the current end point of the path), doesn’t actually add anything to a QPainterPath. path = QPainterPath(QPointF(0,0))...
View ArticleParse HTML using QRegExp
Hi there. I am trying to get a list of values out from an HTML file and had no luck so far with QXmlStreamReader as the documentation suggests. The entries I am interested in look like this: <a...
View ArticleHow To Remove unused dependencies ?...
Hello there, I compiled QT 4.8.4 statically with built in MySQL Driver and my application is using a MySQL Connection. Everything works just fine, the static file has about 46 MB. But if i run ldd on...
View ArticleBuilding QT5 with OpenGL global namespace errors
I’m trying to build the latest QT5 with OpenGL support from source. I’ve followed the instructions here: http://qt-project.org/wiki/Building_Qt_5_from_Git I’ve configured with configure -c++11...
View Articlerun a command in a tcpSocket and return servers answer
hi i have a tcp Server server and my clients connect to this server , when my clients send a command to my server , it need to check that command from another server and answer to that client … i need...
View ArticlemousePressEvent doesn't get called when left mouse button clicked
However it does get called when right or middle mouse button is clicked. Does any one know what’s wrong? void MyWindow::mousePressEvent(QMouseEvent *event) { ...
View ArticleCompiling Qt5 for linux-arm-gnueabi-g++, configure fails to OpenGL ES test
Hi, I’m trying to compile Qt5 for linux-arm-gnueabi-g++, because I’m building crosscompile env for arm. I’m using Ubuntu 12.10 as development platform. When I run ./configure like this: ./configure...
View Article[Solved]How can I get filesize of file at remote server?
I have project in which I need to get file name and size of file at some remote server. I have URL for example http://www.example.com/picture.png. It’s easy to get file name, I just pick last part of...
View Articlethis application has requested the runtime to terminate it in an unusual way
Hi, I use Qt 5 in Qt Creator IDE. When I compile and I try my program in Qt Creator, it works well. But when I try my program in Windows Explorer, I have an error message “Microsoft Visual C++ – this...
View Articlestrange behaviour of scrollbar with QListWidget
Hi All, I have a simple Application that has an image as background applied is stylesheet of centerral widget. I simple place the QListWidget on the the form, and run it, when the scroll comes it is of...
View ArticleThe program has unexpectedly finished
Starting C:\Qt\Qt5.0.1\5.0.1\mingw47_32\examples\opengl\2dpainting-build-Desktop_Qt_5_0_1_MinGW_32bit-Debug\debug\2dpainting.exe… The program has unexpectedly finished....
View ArticleMultiple text lines in QListView
Hi All, I want to display multiple lines of text in a QListview. I have tried for that with custom delegate, but it doesn’t working. My code is here… .h file is… #ifndef WARP_H #define WARP_H...
View ArticleCrash when building XML QDomElement in a method (probably just my bad C++)
Using MSVC 2010, Win 7 (64), Qt 4.8.4. I’m pretty sure I just got some parameter types wrong, but I just fail to see which… ? I’d also be grateful for hints to better solutions of this problem...
View Articleqt-components on BB10
Hello, I’ve downloaded symbian source code, compiled it under bb root and…it doesn’ work as usual! I’ve read that is simple, just compile it, put imports under qml and insert import com.nokia.symbian...
View ArticleQt Creator, how to push project into GitHub?
I have Win XP SP3, git version 1.7.9.msysgit.0. I can push from command line into GitHub in regular order. But in Qt Creator I cannot do it, because I have following messages: 20:27 Executing in...
View ArticleWiget is not updated till I minimize/maximize window
In the following code: #ifndef STEXTBROWSER_H #define STEXTBROWSER_H #include <QPoint> #include <QTextBrowser> class PaintedTextBrowser : public...
View ArticleQt 5.0.1 - qt_lib_bootstrap.pri
I’m slowly getting there with cross-platform development. Windows is by far the most complicated. Here’s my latest. I’ve been working to get a static compile environment unsuccessfully. I just...
View Articlehow can i read/write in a textEditor ?
hi about an hour is i am seeking for a sipmle code or program that can read/write from texteditor in Qt. i want to read values or strings from text editor in GUI and show result of program on...
View ArticleQt3D Cube, No surface texture but with edges, how to?
Hi, all: I’m trying to create a cube shape, without any texture on the surfaces, but it should still be able to show the edges. I tried: QGLSceneNode *cube = builder.finalizedSceneNode(); QGLMaterial...
View Article