[Solved} Qt5 and QVariant
These codes are working fine with previous Qt version. But, Qt5 gives me this error : Qt5.0.0/5.0.0/gcc_64/include/QtCore/qvariant.h:472: error: ‘QVariant::QVariant(Qt::PenStyle)’ is private What is...
View ArticleWarum läuft das QTMobility 1.2.1/radio Beispiel nicht auf den N9-00?
Hallo Kann mir einer von Euch helfen? Entwicklungs-Umgebung. Windows 7 64-Bit / QtSDK 1.2.1 / MinGW Entwicklung Plattform: N9-00 (Meego 1.2 / PR1.3) / N900 Ich hab das QtMobility Beispiel radio.pro (es...
View ArticleUsing X11 libraries in qt on MacOS
Hi, I am trying to use X11 libraries in qt application on MacOS but it is giving errors why i try to use XQueryTree/XOpenDisplay etc. Am i doing the right thing or do i need to add/install extra...
View ArticleIcons used by a Qt library doesn't show when linked to a Qt app
Sorry but the title is too vague (I can’t think of another title) I created a Qt library based on QWidget. The library doesn’t have any errors when compiled (either static or dll). When I used this...
View ArticleHow can I make a Class be instantiated only ONCE?
Supposedly, I have class called MyClass. MyClass manages multiple widgets of the same kind and SHOULD be the only one managing these widgets. What I want to achieve is “analogous” to this thread...
View Article[QCA]Encrypt with public key and decrypt with private key !
Hi, When i use QCA, I can’t encrypt with public key. In documentation, public key is for decrypting and private key is for encrypting but the asymetric system don’t like this. If we want garantee...
View ArticleIs this safe to symlink and distribute Qt libs in Windows?
I’m going to make my own Qt SDK for the new version of Qt. I’ve compiled Qt Creator and Qt Libraries + Documentation. Now I’m making the installer. The problem is that it’s just too big (3.09 GB) which...
View ArticleHow to additionally compile WebKit ?
Hi guys, I got a question for you: I have downloaded sources of Qt 5 and I have successfully compiled it except WebKit module (I havent have ICU library), for MSVC2012. Now I would like to compile...
View Articleاین خیلی قشنگ خواهد بود :)
http://lists.qt-project.org/pipermail/interest/2013-January/005373.html
View ArticleHow to hover an entire row on mouseover in a QTableView?
I subclassed QTableView, QAbstractTableModel, and QItemDelegate. I am able to hover a single cell on mouse over: void SchedulerDelegate::paint(QPainter *painter, const QStyleOptionViewItem...
View ArticleCode runs slower in Release mode than in Debug mode
Hello all, This is my first question related to my code. I have an application in which I encode a video by using x264 encoder. I basically use the libraries and dlls of x264 and call its functions...
View ArticleQGui pode ser utilizado em um aplicação console QApplication?
Galera eu peguei um trecho de código para escrever texto em imagens porém eu gostaria que fosse uma aplicação console. Pergunta, posso utilizar QGui juntamente com uma QApplication? Se não existe outra...
View ArticleBuilding a timer
I am working on building an app in which when a mouse area is clicked a timer starts and on clicking the other button the timer stops. I am having problems in including the timer. I tried using...
View Article[Solved]QString, QSqlQueryModel ("message + QString") how?
So I want to do a search in a database. I have a QLineEdit, I get the value from there (value is something like: nokia) then I want to do this: QSqlQuerryModel qry; QString string =...
View ArticleDynamically add items to a QTreeWidget JSON
I have a Twitter JSON, I can manipulate it using the Qt QScriptEngine, but I wonder how to list this result in a QTreeWidget. Example: QString NRdata = (QString)...
View ArticleIs there a way to change scroller width on QTableView ?
Is there a way to change scroller width on QTableView ?
View ArticleHow Qt can be used to port a text editor to a simple C/C++ based environment ?
I am new to software porting, knowing next to nothing, so a detailed response will be appreciated.. I have a simple C/C++ environment with simple OS like features like memory management, multithreading...
View ArticleQScrollArea deleting issue
Hello! Basically I am using a QScrollArea for a list of labels that change when user presses a button. Now I need to delete all the items in the QScrollArea::widget() before I set a new Widget for the...
View ArticleRow height in TableView in qml-components
Hi I’m trying to make different heights for rows in TableView, but it seems now I can’t change default cell height at all. It used to work earlier, it was not perfect but it worked. Now no matter what...
View ArticleQScriptEngine vs. QJSEngine?
I am working on an internal windows desktop application/tool and I want to make it scriptable. It looks like currently there are at least two ways in Qt to do this. The scripts generated by users will...
View Article