QListView and etc.
Hi every one, I have a problem with QListView. I made my custom List each item of which is about 100px height. So here is the problem: When my list’s height is 550px (just for example) i have 50px...
View ArticletoAscii function depreciation what to use instead?
Hello, I want to write a small program, the program takes a STRING and converts it to ASCII code. The problem is that the toAscii function depreciated. I would like to know if there is another function...
View Articlehow to set QTreeview.width == MainWindow.width
Hi, i’m new in Qt, I started a project, (now), and I’m stuck with the GUI par of the App. I’m on Qt 5.1.0 for Linux 64-bit under ubuntu 12.04 Desktop App. I am ashamed just ffor asking this kind of...
View ArticleHow to avoid losing mouse events?
Hi, i am developing a image editor/painting application and i have the following problem: I receive the mouse events, i draw on a QImage, convert it to QPixmap, show it on the screen. The drawing...
View Article[SOLVED] do we need to free QstandardItem and QstandardItemModel ?
i was wondering if we have to free pointers of type QstandardItem and QstandardItemModel?
View ArticleI can't compile Qt5.1 on windows 7. :/
Hi everyone, I’m new here. I like Qt and I use it for my RPG project, Qt 4.8 was perfect but now I changed my version of mingw to have the support of std::thread, thanks to this website who gives me...
View ArticlePySide: QxtGlobalShortcut for HotKeys?
Hi there- Does PySide have some way to implement hot keys using QxtGlobalShortcut? Or is there any other cross-platform way to do it in Python? Thanks, let me know.
View ArticleQt 5: Error : cannot make OpenGL Context current in a different thread
Hi (Sorry for my poor English Speaking) I use Ubuntu. First, I run this code [mih.voxindeserto.de] in qt4 and it was ok! Now, when (after modify it’s Include Classes for Qt5) I run it under Qt 5,...
View ArticleQWindow + QOpenGLContext vs QMainWindow + QGLWidget
Hello, Im starting this discussion because i read on http://www.kdab.com/category/blogs/ QWindow with QOpenGLContext will be better in Qt 5+ then QMainWindow + QGLWidget. But here come my problem. When...
View ArticleQtQuick in a terminal
Hello everyone, what do I need to make this QtQuick project work? When I try to compile it with : $ qmake -project $ qmake $ make and launch it, it prints module “QtQuick” version 2.0 is not installed...
View ArticleInstall Qt SDK without Qt Creator
I’d like to know why I cannot unselect Qt Creator in the Qt SDK installer. I use multiple installations (versions) of Qt SDK side by side. It is inconvenient and wasteful that each one forces me to...
View ArticleUse OpenCV Android with qt 5.1
Hi, I’m trying to access the camera on android using opencv, but unfortunatly I can’t get any qt Apps using OpenCv to run on my android phone. If I try to do it I get “Your application has encountered...
View ArticleHow to implement a framework and objects scheme
I like to program interfaces as follows. Define a framework which is a structure of places to put widgets on, and then have objects, and put them there. All programmatically. I more or less can do this...
View ArticleScrollView and adding scrollbars to app window
I am trying to add scrollbars to my app’s main window using the following code: import QtQuick 2.0 import QtQuick.Controls 1.0 ScrollView { Rectangle { ...
View ArticleModule installation with Qt5.1 does not generated header files
Good day I wrote a module using Qt5.0 and it used to install the header files correctly with sudo make install Now using the same code with Qt5.1 and compile it, only generate MyContactsDepends under...
View ArticleProblem solved (maybe) installing QtCreator on Kubuntu 13.04
My first installation of QtCreator was version 2.7.0. I had a serious problem viewing the Welcome help because the text was partly covered by screenshots and there were no examples present. Finally...
View ArticleQt Creator include paths on Windows
Hi, I am trying to build a simple project in Qt Creator under Windows using the 5.1 opengl/msvc 2012 64-bit release, but it seems that INCLUDEPATH/DEPENDPATH are not working properly. For example, if I...
View ArticleInstalling and Compile QT
Hello, the files in download page, like “Qt libraries 4.8.5 for Windows (VS 2008, 235 MB)”, are already compiled to the plataform in description, is just install and use, or is needed run ‘configure’...
View ArticlePyQT threading error while passing a signal to a QMessageBox
I tried to receive a string from a thread to my main GUI using SIGNALs. Everything works fine until I want to use the string in a QMessageBox. Printing out is no problem but starting a QMessageBox...
View ArticleQUrl driving me nuts
Hello Everybody, I’ve got a little problem trying to set a QUrl with a “+” sign. The “true” url is http://www.ariva.de/k+s-aktie As you notice the + is encoded in +. But if you write QUrl u =...
View Article