How to get complete strings and its translation from QTranslator object?
(Reposting in right place) Hello Guys, I have another interesting problem to solve. In my application, am using QApplication::tr() to translate the strings. And, I use QTranslator object to load the...
View ArticleHow to get the translated text without loading the translator file?
(Reposting in right place) Hello all, I have an interesting problem to solve. In my application, I want to get the translated text without loading the translator. Is that possible? If yes, Please let...
View ArticleHow to specify different compiler flags for different cpp files within a...
Is it possible to compile a number of .cpp files within a project with different compiler flags than other files?
View Articlethird party jar to use with qt5 for android
Hello I am trying to load jar library which is described here AN_233_Java_D2xx_for_Android_API_User_Manual.pdf [ftdichip.com] I am using Qt5.1.1 This is sample of code and corresponding debug printout...
View ArticleQtQuick2 help needed with dragging frameless window.
Hi! I’m looking for a way of dragging frameless window in QtQuick2. I fallowed this thread on the forum Link [qt-project.org] but it giving me an error. Main different in the code is that my code uses...
View Article[Solved] Show only application fonts in QFontComboBox?
At the start of my application, I call QFontDatabase::removeAllApplicationFonts(); and then add some fonts that I want to use. Is there any way to restrict QFontComboBox to only those fonts?
View ArticleDisplay multiple Images on a nother image (e.g map with markers)
Hello, I’m way of new to QT and currently looking for the required classes to create a simple window with an image as background, on which I can display multiple other small images. Most important is...
View ArticleIntercept manual resize of QHeaderView
I am fiddling around with the Qt undo framework, and I would like to be able to revert size changes of a QHeaderView – the ones initiated by the user via dragging the section delimiters. I already...
View Article[Qwt-Plot]How can I set the samples to fit data structures ?
If I correctly understand the documentation of set(Raw)Samples, the arguments given suggest that they must fit a declaration of the kind : double X[SIZE],Y[SIZE]; I mean that consecutive X are...
View ArticleQMediaPlayer how to change outputdevices
Using QMediaplayer, i need to change audiooutputdevice on the fly (ie. to use usb headphones). This seems not to be so easy ;) If somebody can help, i’ll be happy :-) jlf
View ArticleRound Button Jaggies
I am trying to use a round button on a screen with a background image but I am getting jagged edges from the mask. How can I minimise or eliminate these? Here is the original button with its clear...
View ArticleForum feature request: Some way to show appreciation
More often than not, when you post about a problem you have on the forums, you’ll get good replies and useful advice. I would love to have a way to show appreciation to those that take the time to...
View Article[solved] QScopedPointer crashes application at exit
My question why (look at the topic)? Here is call stack: Qt5Widgetsd.dll!QScopedPointer<QObjectData,QScopedPointerDeleter<QObjectData> >::data() Line...
View Articlelrelease on subprojects
Hi all, I have a project with multiple subprojects (TEMPLATE = subdirs). When running lupdate on the main .pro file it runs through all subprojects and creates the .ts files. Doing the same with...
View ArticleQDialog in subwindow mode
Hi all I have a question regarding possibility to show a dialog “workign” as subwindow like MDI windows do. The particular feature I’m interested in is to avoid the dialog to be moved outside the main...
View ArticleBluetooth support in latest qt for windows 8
Hi All, Till now I was working on qt’s linux version (qt 5.0). In this I could not use bluetooth apis of qt as they always gave some errors. So now I am planning to move on windows(I thought it might...
View ArticleQListView & QAbstractListModel remove issue
I´m experimenting with a simpel contact manager app, but i have an issue where 2 items are deleted instead of 1 item.. Here are my snippets: From mainwindow.cpp: if(action->text() ==...
View ArticleHow to launch a table with columns' names set as checkboxes' labels
Hi all So i have a wizard and a mainwindow that launches after the wizard winds up. The mainwindow’s central widget is currently disabled so i wanted it to launch a table with columns as soon as the...
View ArticleУстановка QtConnectivity или QtMobiliy
Вот такая ошибка после make для qtconnectivity mv -f libQt5Nfc.so.5.0.1 libQt5Nfc.so libQt5Nfc.so.5 libQt5Nfc.so.5.0 ../../lib/ make[2]: Выход из каталога `/home/moroz/qtconnectivity/src/nfc' cd...
View ArticleQt Android Debugging
Hi, nutzt von euch jemand das Qt-Android Plugin? ich habe es auf meinem Mac (vers. 10.8.5) nun zum kompilieren bekommen und kann auch Programme auf ein Android Device deployen. Also alles ganz toll,...
View Article