Lifetime of QStandardItem objects from QStandardItemModel
Does anyone know when QStandardItem objects/pointers from QStandardItemModel methods like item() and itemFromIndex() should no longer be considered valid? I mean, I’m assuming they will be gone if the...
View ArticleQMediaPlayer on Ubuntu 12.04
I am working on an application that needs to play various sounds for user interaction and am having trouble getting them to work on Ubuntu. I upgraded to QT5 so I could use QMediaPlayer and it works...
View ArticleDoes Qt WebKit work with ios yet in Qt 5.1 beta?
Hi all, I’m trying to use QWebView inside a Qt app I’m writing for iOS. The basic compilation worked fine but when I tried to add Qt += webkit to my pro file and build it but it said it can’t find the...
View ArticleMulticast/Broadcast questions
Hello. I’m trying to develop some client/server software. I’ve found some problems that can be reproduced ussing broadcast/multicast examples: Running both in the same computer, works. But, if server...
View ArticleQt Addin 1.1.11 failing to create Qt wince project in VS2005
I’m trying to create a test app for some of our legacy hardware with Qt and I can’t seem to create a project. It just says project creation failed and I have no idea how to figure out why.
View ArticleExecuting remote python script
I have a python script on my server that I need to execute at certain times (basically whenever I upload a file, we execute this script on said file). How would I go about doing this? The file upload...
View ArticleWorks fine in Qt Creator, but not so much outside
This is probably another ignorant rookie question. I did try searching the forum before posting, but every time I hit back out of a topic my search results were gone I was back to a blank search bar. I...
View ArticleWorking with Javascripts and QtScriptEngine::importExtension ( const QString...
Hello all!! I have working with the QtScriptEngine and I’ve been trying to import some javascripts extensions by using the QtScriptEngine::importExtension ( const QString & extension ) function...
View ArticleFill a QTableWidget
Hello everyone, I’m trying to fill a QTablewidget with matrix of vectors, I have the following code. I’m sure that my Qt code is good but I don’t know my it doesn’t work. Is there something I missed...
View ArticleQToolbar toolbutton layout
Hi all, I am trying to design a toolbar in a grid shape like this [google.com] .I have created a QGridLayout and stuffed my actions in but I am getting strange results. I also want to have some kind of...
View ArticleFont Loading Issues on OSX Qt5.1 Beta Qt Quick 2.0
FontLoader { id:flat_manteka_font name:“flat_manteka_font” source:“manteka.ttf” } Text { text: “MANTEKA” font.family: flat_manteka_font.name // metastream_flat_style.flat_style.flat_font_family...
View ArticleReferenceError: Can't find variable: because area is overlapped
Hi, I have an Item with: Connections { ignoreUnknownSignals : false target: tt0 //sender ...
View ArticleCross-compile not working.
Hi I want to build Qt5 for Raspberry [qt-project.org] but for some reason it doesn’t detect the compiler correctly and gives me the “-reduce-exports was requested but this compiler does not support it”...
View ArticleCRUD Datagrid
LS I’m very interested in a function that generates a datagrid crud window for a table that is passed to it. Has anyone seen such a module ? thnx Arthur
View ArticleQSqlRelationTableModel + QTableView Добавление новой записи
Всем доброго времени суток! У меня возникла следующая проблема: когда делаю связку QSqlRelationTableModel и QTableView при вставке новой записи в QTableView она появляется, когда вношу в неё значения,...
View ArticleUsing Mat and Mat_
Hi guys, I need to convert a Mat to QImage for show a video in a label. I’m using this code but my image is Mat and the code is Mat_double. I’m trying to do this: Mat img; Mat2QImage(img); ...
View ArticleJak zamienić zwykłe klasy C++ w klasy 'kompatybilne' z Qt
Jak zrobić, żeby obiekty tych klas można było wyświetlić w QTreeWidgetItem? Ogólnie ma to być sklep, a te klasy służą do stworzenia listy kategorii oraz produktów które się w niej znajdują. Nie wiem...
View Article5.1 Beta: qtbase/lib directory not found
I’m compiling on OS X with the 5.1 Beta binary, and I get this warning: warning: directory not found for option ‘-F/Users/chris/Qt5.1.0/5.1.0-beta1/clang_64/qtbase/lib’ Is this anything I should be...
View ArticleQt 5.1 Beta binary + XCode = iOS app?
I have the Qt 5.1 Beta binary for OS X and I’m trying to use it to build a simple iOS app. There must be some configuration option I need to set, because changing all my .cpp files to .mm doesn’t...
View ArticleBuild Issue(s) with Boost Library
Hello all, I found out about Qt whilst doing research into C++ GUI Libraries – after a lot of research (YT Videos & Qt Books), I installed the Qt Creator. Qt itself seems to be working fine. I...
View Article