Qt 5.0.2 linker error Сannot open file 'Files.obj'
Sorry for bad english first of all. Today I’m download and install Qt 5, before I used Qt 4.8.4. And my projects (old and even empty new) dont wanna be linked. D:\Qt\5.0.2\Tools\QtCreator\bin\jom.exe...
View ArticleQt 4.8 threading, QObject::setParent: Cannot set parent, new parent is in a...
I have the following class that I want to later move to a different thread to do it’s work so I don’t stall the UI thread. class ParserXYZ : public IParser { public: ...
View Articletranslation phrase book access from C++
Hello, How can I doing language translation in C++ using a Qt phrase book? Can someone post an example program? Thanking you!
View Article[invalid] Build Postgres driver + LNK2019 / VS2010 / Win7
I try to build Postgres 9.2 driver using psql.pro (Qt 5.0.2), but linker show errors. I specified libpq.lib in psql.pro like this: win32:LIBS += "C:\psql\lib\libpq.lib" LIBS +=...
View Articlecalling text() after the connect
i post it 2nd time, coz everybody try to help me and just indicate a problem, but i cant solve it by myself =( main only: QApplication a(argc, argv); QWidget w;...
View ArticleCan't correctly deploy application (missing dlls?)
Hello, I’m trying to deploy my application following this guide http://qt-project.org/doc/qt-4.8/deployment-windows.html [qt-project.org]. I profiled the release executable using Dependency Walker and...
View ArticleQMenuBar CSS problème
Hi every body, i have a problèm with stylesheet for QMenuBar i want to customize my bar menu on color gray (see the picture) please i need your help i used all technique Stylesheet and pallette it...
View ArticleUnicodeUTF8 not member QApplication - generated with Qt5 Designer
So I upgraded to Qt5…I loaded my apps from QT4 and I fixed a # of issues like #includes to the Qt5 style. So it gets through most of files now without error. BUT, when it generates the UI headers, Qt...
View ArticleCustom QML View
Hi, I’m trying to display items from a C++ model in a QML in a ScrollView where the position information for each item is in the item itself (there is a model role for position) None of the available...
View ArticleQWebElement evaluateJavaScript doesn't work
Hello all, I have a code QWebView view; view.show(); QWebElement elem = view.page()->mainFrame()->documentElement(); QEventLoop loopLoad;...
View Articleexposing QQmlListProperty to QML : registering QQmlListProperty in QML type...
I’m trying to access a QList<MyOject> from QML so I’m using QQmlListProperty here is a part of the code : the class MyObject code : MyObject.h #ifndef MYOBJECT_H #define MYOBJECT_H...
View ArticleWhat do I need to try iOS development with Qt5.1beta ?
I downloaded Qt 5.1 beta for Mac (OS X) and I have the impression that more stuff is needed to try iOS development (in a simulator) with it. What am I missing (for example: how do I set that a project...
View ArticleText Edit: choose/change the whole background color
hello everyone, I’m new here. I write here to find some help about qt coding, in this case about Text Edit demo ( ttp//qt-project.org/doc/qt-4.8/demos-textedit.html ). To better learning qt coding (i...
View ArticleSaving user data: which of QStandardPaths to use?
Hi all, I am using Qt to write an image viewer where the user can create notes/annotations about the image and bookmark interesting points of view. I was thinking of saving these notes/bookmarks in...
View ArticleInstallation for Dummies??? (MAC OS 10.6.8)
Hello, I am a graphic artist working with a programmer who uses QT on another platform (so he can’t really answer all my questions). I want to install QT on my MAC (running OS 10.6.8) to enable me to...
View ArticleHTML5 application and Html5ApplicationViewPrivate
Hi, I created a new project (Qt 5.0.2) using the “new HTML5 application” wizard, which created for me the Html5ApplicationViewer class (.h and .cpp). Html5ApplicationViewer.cpp defines a private class...
View ArticleHow to delete files from ftp?
QUrl uploadurl("ftp://ftp.aaa.com/httpdocs/img/1.jpg"); uploadurl.setUserName("username"); uploadurl.setPassword("password");...
View ArticleHow to delete files from ftp?
QUrl uploadurl("ftp://ftp.aaa.com/httpdocs/img/1.jpg"); uploadurl.setUserName("username"); uploadurl.setPassword("password");...
View ArticleQUrlInfo и права на файл/директория
Здравейте. Ползвам QUrlInfo за да изкарам информация за файл от отдалечен сървър (ftp). Срещам проблеми с информацията за правата на директорията или файла. В enum-а PermissionSpec се вижда че...
View ArticleHow to return deleted main menu bar?
I deleted the main menu bar out of my project, how do I return it? For the documentation: QMenuBar * QMainWindow::menuBar() const Returns the menu bar for the main window. However, I don’t quite...
View Article