97 Topics
| |
Hi everyone, Heres my problem: I've installed Qt 4, and there is **no** qmysql.dll/.a in C:\Qt\4.8.4\plugins\sqldrivers\. I am running a MySQL database program and I get Database error: Driver not loaded. Theres not really a lot of help anywhere on google so hopefully DaniWeb will yet again prove itself as … | |
Hello, I have got [this](http://www.yasinuludag.com/darkorange.stylesheet) a Qt stylesheet, how do I load it to my PyQt module after creating a QString Object. if I do from PyQt4 import QtCore s = QtCore.QString('c:\myProject\darkFantasy.stylesheet') the above code loads the path string rather than the actual stylesheet. So how do I load the … | |
Right everyone, here's my problem. I have just paid £45 for a book on Qt, have had a nightmere getting it sorted, and finally I can build apps to this extent... I have an app, *test.pro*. I have built it using `qmake test.pro` -> `make` which works. I am using … | |
from PySide import QtCore,QtGui import sys class ToolBarUI(QtGui.QMainWindow): def __init__(self,*args,**kwargs): super(ToolBarUI,self).__init__(*args,**kwargs) self.floatingToolBar() pass def buttons(self): self.btnVLay=QtGui.QVBoxLayout() self.incSavbtn=QtGui.QPushButton("Save") self.emailbtn=QtGui.QPushButton("Email") self.upldbtn=QtGui.QPushButton("Upload") self.setPrjbtn=QtGui.QPushButton("Set Project") self.setThumb=QtGui.QPushButton("Set thumb") self.shwMatbtn=QtGui.QPushButton("Show Material") self.fixtexbtn=QtGui.QPushButton("Fix Texture Paths") btns = [self.incSavbtn,self.emailbtn,self.upldbtn,self.setPrjbtn,self.setPrjbtn,self.setThumb,self.shwMatbtn,self.fixtexbtn] [self.btnVLay.addWidget(each) for each in btns] def floatingToolBar(self): self.buttons() self.setLayout(self.btnVLay) self.show() pass if __name__ =='__main__': app = QtGui.QApplication(sys.argv) app.setStyle("cleanlooks") win … | |
in this program i'm writing the functions that have qt classes as parameters Qlabel, QSpinbox, etc. are causing compile errors, my other functions work fine i get the same 2 errors for each QT object i use as an argument this is the function definition that uses QT classes as … | |
Installing Eric4 on Windows 7, 32 Bit; using MS VS C++ 2010 After much ado and trial-and-error I was able to get it installed, via the following steps: Command-prompt run as administrator in all cases All packages installed in the root of C:\ After changing each environment variable, update command-prompt … | |
Am I correctly including all the library files from the directory ?? LIBS += `"C:\openCV24\opencv_bin\lib\*.dll"` Because this line keeps on giving me `C:\openCV24\opencv_bin\install\lib*.dll: Invalid argument` Ive tried looking several places and have altered this line many times but cant seem to get it to work. Can someone please let me … | |
Hi there everyone... Allright my setting is this: I have written an C++ application that receives input from a user app, converts it to XML, and then posts it to our ERP (Syspro) through e.net COM objects using ActiveQt and in specific QAxObject... The problem is this: QAxObject inherits from … | |
Hey Everybody, Allright my setting is like this: I created a derived MVC program using C++ and QT on Visual Studio 2008, that sends multiple instructions to our ERP system through an external program... On each command posted this way the user application needs to wait for a return string … | |
Hi, I just installed PyQt Designer to start creating UI's with python, I've used WxPython and TKinter before, but never really done anything with PyQt. So for some of you this might be a very simple question that I can't seem to find with google. I really like how it … | |
Hi. So I get this weird error message out from a QT application that i'm creating: 0xc0000005: read access violation at: 0x0, flags=0x0 Basically what I'm trying to do is to set in a QT List Widget an item of type QList Widget Item in which I store two things: … | |
what QObject: Cannot create children for a parent that is in a different thread. (Parent is QTextDocument(0x905b660), parent's thread is QThread(0x8efc560), current thread is flooderthread(0x8efc548) error means ? and how to solve it?? | |
Hi there, I'm writing some application based on Qt and C++ and I've reached the problem. How to display window via clicking, triggering, etc. I wrote some code: //---------------------------- // THIS IS IN mainwindow.h //---------------------------- #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWindow; } class MainWindow : … | |
i have a Qt code writed in C++ . i want translate it to python code, but i have a problem in 4 code line: all code is: void TableView::print(QPainter* painter, const QRect& area) { const int rows = model()->rowCount(); const int cols = model()->columnCount(); // calculate the total width/height … | |
Have some problems with the qt destructor. I'm working on QtCreator: here's the class: the .cpp #include "controller.h" Controller::Controller() { } Controller::Controller(MovieRepo *movrep, MovieValidator *movval){ this->movrep=movrep; this->movval=movval; } void Controller::addMov(int id, string title, string desc, string type)throw(ValidatorException){ Movie* mov=new Movie(id, title, desc, type); movval->validate(*mov); movrep->store(*mov); } const Movie* Controller::getById(int id){ … | |
hey i heard that there is something called qt signals you can use it to change the GUI out side the main thread coz when i try to change it i get an error that i cant change the gui out of the main thread but i need it to … | |
Hi there, I installed Qt on my Windows 7 machine and I tried to configure CMake but ran into this error: CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE): Could NOT find Qt4 (missing: QT_QMAKE_EXECUTABLE QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_INCLUDE_DIR QT_LIBRARY_DIR QT_QTCORE_INCLUDE_DIR QT_QTCORE_LIBRARY QT_QTGUI_INCLUDE_DIR QT_QTGUI_LIBRARY QT_QTOPENGL_INCLUDE_DIR QT_QTOPENGL_LIBRARY QT_UIC_EXECUTABLE) Call Stack (most recent call … | |
Hey Everyone, I have run into a bit of a problem with regards to application startup... I have written a C++ application with QT libraries that uses active QT to communicate with our ERP system in our business, the requirements are that any application we use needs to communicate its … | |
#ifndef FILM_H #define FILM_H #include <QString> class Film { protected: QString title; double dailyRate; public: Film(QString ti,double dr); QString getTitle() const; virtual double calculateRental(int num)const; }; class Video: public Film { public: Video(QString ti,double dr,QString vt,int d); QString getTitle() const; QString getVideoType() const; virtual double calculateRental(int num)const; protected: QString videoType; … | |
i'm making this function that replaces single slashes in a path with doubles slashes. It works for everything but slashes because I gotta use doubleslashes to specify a single slash so how do I refer to double slashes. QString AddDoubleSlashtoPath(QString Path){ QStringList splitup=Path.split("//") ;/*supposed to be a single slash*/ QString … | |
This app I finally got the splashscreen to the way i want it, but when I run the .exe from the explorer the splashscreen loses its transparency and has a white background replacing the glow; In when the compiler runs it directly after it builds it look exactly how it … | |
#include <QApplication> #include <QLabel> #include <QVBoxLayout> #include <QTextEdit> #include <QWidget> int main (int argc, char* argv[]) { QApplication app (argc, argv); QWidget window; QLabel* label = new QLabel("Please enter some text"); QTextEdit* textEdit = new QTextEdit; QVBoxLayout* layout = new QVBoxLayout; layout->addwidget(label); layout->addwidget(textEdit); window.setLayout(layout); window.show; return app.exec(); } 1.Qt provides … | |
Code blocks are created by indenting at least 4 spaces ... and can span multiple lines class Wizard : public QDialog { Q_OBJECT public: Wizard(QWidget *parent); private slots: void what_ever(); private: QPushButton *what_ever; }; Wizard::Wizard( QWidget *parent ) : QDialog(parent) { QGridLayout *layout = new QGridLayout( this ); QScopedPointer<QTextEdit> textEdit(new … | |
Hi There, I hope somebody can help me, I work with Visual C++ 2008 with QT libraries I am trying to include a Interop.Encore.dll file into my program to access our ERP system business objects and post new data to the ERP We have a Visual Basic program geared to … | |
Hi. I am a beginner and i have been facing this problem since Monday. I made a QMainWindow with name window and added an action in it. So when a user clicks the action, the QDialog dialog is displayed. In dialog i take input from user and then return it … | |
I wrote the following code, so that whenever an item from the list is deleted, the file associated with the name of the items below the delted items get updated. But the program isn't working, i have been reviewing this code for last 2 days but worthless. Please help. void … | |
Qt ide gives error about"error: passing 'const QChar' as 'this' argument of 'QChar& QChar::operator=(const QChar&)' discards qualifiers" here for(int i=reqposition;;i++) { if(data.at(i)==',') break; temp.at(j)=data.at(i); // ERROR IS HERE j++; } what do i do to solve it! | |
Hi guys, converting .ui to .py to .exe using Qt Designer (PyQt4), Python 2.7, and py2exe Ive been able to do this with Tkinter gui's but having problems with gui's from Qt Designer? First error was due to missing msvcp90.dll which ive downloaded and copied into the python dll directory, … | |
First question here, so bear with me. I have been trying to create a view on a QMainWindow using a QDeclarativeView as the canvas, but whenever I try to switch the source of the QDeclarativeView my program segfaults and I frankly have no idea why, or how to fix it. … | |
I made the following program, but now i am getting an error. I searched for error almost 3 hours but worthless. I want to discuss the problem with you people. I am getting the error: [B] expected class-name before '{' token[/B] #ifndef ASKDIALOG_H #define ASKDIALOG_H #include <QDialog> #include "umerwindow.h" namespace … |
The End.