qtsql qoci select query performance
I’ve got a question performance of Qtsql module, exactly QOCI interface. Simple application which only connect and selects data, works way too slow (about 5 times) in comparison with other tools...
View ArticleSSL connection not dropped
Hi all, i’ve implemented a simple SslServer inheriting from QTcpServer and overriding the incomingConnection() as suggested from the documentation. However i am stumbling on a strange problem:...
View ArticlePySide: AnchorChanges in state transmission not working
Hello, I’m trying to animate an BorderImage element with two states (shown, hidden) using AnchorChanges. But everytime the state transmission should be performed PySide prints the following error:...
View ArticleProblem building Qt 5.0.1 (Visual Studio 2005)
I’ve fallen at the first hurdle trying to build Qt 5.0.1 (from the opensource ZIP). I’ve successfully built 4.6.2 and 4.8.3 recently with no issues, simply by running the standard configure ->...
View ArticleSegFault when I'm trying to release one QGraphicsWebView instance pointer...
Hi Mates, I’ve got one Segmentation fault when I did a pointer release over one QGraphicsWebView instance, this only happens when QWebSettings::PluginsEnabled is enabled. Also the way to load the HTML...
View ArticleThe Reality of Developer’s Life :)
http://www.javacodegeeks.com/2013/02/the-reality-of-developers-life.html
View ArticleLer lista, identificando repetidos
Bom dia galera, Tenho uma StringList formada por um conjunto de informações vindos de uma query, ex: Cada QString formada por:” codigo; ip; local; data “ “ 1586; 190.150.60.158; C:\\Users\\TI;...
View ArticleHow to check if the selected word is bold or not
Hello, basicaly i want to check if the selected word in textEdit is bold already or not, if it’s bold, then to check the bold button, if not, don’t do anything. this is the code, what’s wrong?...
View ArticleQtCreator and autocorrection/function preview
Hey, Can anybody tell me, how I can disable displaying all private functions of a inherited class, when I am writing C++ code and press CRTL+Space for displaying all functions? It’s nice to see them,...
View ArticleGet size of icon constructed via QIcon(QString &)
Is there a way to find the size of an icon created via the QIcon constructor variant taking a filename as inpu? I mean, the dimensions of the original image and/or “unscaled” pixmaps created from it. I...
View ArticleReading QStringList and removing the same
Good morning guys, I have a StringList formed by a set of information coming from a query, example: Each QString formed by “code, ip, location, date” “1586; 190.150.60.158; C: \ \ Users \ \ IT;...
View ArticleUbuntu theme integration after Qt 5.0.1 build
I built Qt 5.0.1 on Ubuntu 12.10. Everything worked fine, but when I open the Assistant or Designer it looks awful. The theme is not the one Ubuntu uses. It might have something to do with “Gtk theme...
View ArticleShortening a label
I have a directory and file name in a QLabel. If the text is too long, it is making my window too wide. I have played with all of the size policy options I can think of but haven’t been able to make it...
View ArticleQt5 adding mkspecs
Hello everybody I would like to create a graphic interface on a embedded linux with an ARM architecture using Qt. So I downloaded the source code of Qt5 (the tar.gz for Linux). I have extracted the...
View ArticlePlace a Dock widget programatically
Hello I need to move the position of a dock widget from within my program after it has been initially created and displayed. I tried this removeDockWidget(m_jobDetailsDockWidget); ...
View ArticleThread safe global variables
Hi I needed a way to use global variables in multiple threads without coding the thread safe stuff for every variable. The performance is not an issue because they will be accessed every now and then....
View ArticleSimple ftp file transfer reconnect problem?
Hello, i write an small prg that transfer an file via ftp. i test the prg and get following error, if the username wrong first transfer get an user or password error 204, thats okay, if i retry the...
View Articlerendering text with QGraphicsScene set to OpenGl
Hi, I initially created a QGLWidget which did all my openGl painting. Using that widget I had access to the renderText function which made drawing text trivial. Due to the requirements of what I am...
View ArticleHow to add an event for the top-level menu
toolbar::toolbar…. { action1 = new QAction(tr(“open other..”),this); menu *menuins=new menu(tr(“open”),this); menuins->addAction(action1); addAction(menuins->menuAction()); connect(menu??...
View ArticleCompilation error. Problem with paths.
After re-installing QtSDK 5.0.1 I got some strange thing. No project want to be compiled with the error like that \Qt5.0.1\5.0.1\mingw47_32\include\QtCore" -I"debug"...
View Article