QML Qt.createQmlObject how to refer variable
Hi all. I have a QML & JavaScript code: Grid { columns: 4 y: 50 ...
View ArticleIs it possible to place advertisements on a Qt application?
I googled “Qt creator advertisments” and didn’t found anything… And by advertisments i mean something like adsense.. If there isn’t something like that, my only choise is to communicate with companies...
View ArticleFailed to build 32-bit Qt with Visual Studio 2012 - bad YarrJIT.cpp compilation
I am trying to build 32 bit Qt libraries on a Windows 7 computer using Visual Studio 2012. Therefore I configured as follows: C:\Qt\4.8.4> configure -platform win32-msvc2012 After nmake compiled...
View ArticleUnder Win7 64 bit, cannot add mysql driver.
Under Win7 64 bit, cannot add mysql driver. I use 32Bit qt and 32 bit mysql, build mysql driver ok, QSqlDatabase::drivers() can see “QMYSQL”, but QSqlDatabase::addDatabase(“QMYSQL”) failed. I copied...
View ArticleLNK2019 errors dealing with QDomNode
I am new to QT. Any help would be greatly appreciated. The program was working until I added the code below into the cpp. file. I have not done anything with DOM before, which seems to be the issue. I...
View ArticleImplementing Bilinear Transformation version quadToQuad (without perspective)
Hello :-) This is my first post. What I’m trying to do, is implement function quadToQuad but based on bilinear transformation. Mean almost the same result but without perspective. It is possible to...
View ArticleHow to pass parameters to a SLOT function?
Hi guys, . I need to do some processing inside a SLOT function but this function must have an argument, such as: public slot: void doSomething(double*); . connect(buttonOne,...
View ArticleQXmlStreamWrite writing namespace !
Hi, I have to write an XML file using QXmlStreamWrite like this : <?xml version="1.0" encoding="UTF-8"?> <pnml > ...
View ArticleConfigure Toolbars and Configure Shortcuts options
Hello, As you know most KDE applications has two major options for KMainWindow & KXmlGuiWindow which is Configure Toolbars and Configure Shortcuts. Is there any similar OR alternative solution...
View ArticleQtQuick 2.0, read a QList from C++
Hi all. I’m having some issues with extending QtQuick 2.0 with C++. I want to show in a gridview, following this tutorial. I’ve done my changes and I wanna show in the gridview is a...
View ArticleC2061 - Syntax error
I am new at QT, so I apologize if this is an easy question, but I have typed in an example that I found that uses QListViewItem and for some reason it can not find it, even though I am including...
View ArticleHow to re size Qpushbutton
Hi, i want to re size A Button. for example i want it’s size be (120,120) how can i do it in .cpp file?
View ArticleQT Linguist 4.6.0 always crashes after I open and close a few files.
I’m editing translated .ts files, and Linguist always crashes after I open and close a few files. I’m running 4.6.0 on Windows 7. It’s been crashing like this since last year when I was running XP on a...
View ArticleQTableView reflected in every tab PyQt
Hello! I am using PyQt4/python2.7 I have tabbed windows which contains QTableView. So when I open a new tab I get QTableView in it. When I click on a button to populate the view, it works correctly,...
View ArticleThe program can't start because qtcore4.dll is missing from your computer
Hello, I have just created a small QT program and it runs inside the IDE very well. But, whenever I try to run it using the exe file, I get the error the program can’t start because QtCore5.dll is...
View ArticleProblem with drag and drop in qtquick 2
Hello, I tested a example to do somme drag and drop. Here is my code import QtQuick 2.0 Rectangle { width: 800 height: 800...
View Articleqmldesigner: metainfo file - How to use QmlSource
Hi all, does anyone know how to use the QmlSource type in a metainfo file? I tried : Type { name: "CheckBoxList" ...
View ArticleVery strange behaviour with QLibrary.
In order to get the videocameras list I try to use this function: void MainWindow::on_pushButton_clicked() { QLibrary...
View ArticleHow to create REG_DWORD or REG_BINARY type registry key with IFW?
Does anyone know how to create a REG_DWORD or REG_BINARY type registry key? I could create REG_SZ key and set a string value by using GlobalConfig operation.
View Article