I want to play YUV video sequence by using Qt. Now I am using QPixmap, by using DrawPixel on QPixmap pixel by pixel. However, it can't play the video in real-time. How can I do to improve the speed?
My laptop is 64-bits, so when I start to use Qt, I chose 64-bit QtCreator.
Now I'm facing a problem, I wish that the executable files I generated are runnnable on 32-bit linux system.
Can I set QtCreator to generate 32-bit executable files? So that I can decide I want to generate 32-bit ones or 64-bit ones.
I don't want to install another 32-bit QtCreator <.
I am developing a GUI application in Qt Creator and want to write some unit tests for it.
I followed This guide to make some unit tests with QtTestlib and the program compiles fine.
But how do I run them? I would like them to be run before the GUI app starts if debug buid and not run if release build.
Hi, All!
I have some Qt application with QPlainTextEdit in Tab widget. When try to make a pointer on it
QPlainTextEdit *w = (QPlainTextEdit*)ui->tabWidget->widget(0)
and call a document() method
w->document()
I get a segfault.
But if i call document directly, e.g. ui-mainEdit-document(), then everything works fine.
Can anybody explain me why it happens?
Hi,
i have done the UI development on windows mobile platform using C#,
presently i am a symbian developer, i am using Qt framework for the developemnt process.
i want to know out of these symbian and windows mobile, which has the feature, boom.
i will be anticipating the answers from you.
I'm writing an Qt application and I go through authorization process and
everything. I'm even able to fetch the @self feed, but for some reason I
get error 404 when trying to do the same thing with @consumption:
"Download of https://www.googleapis.com/buzz/v1/activities/v.kiril/@consumption failed:
Error downloading https://www.googleapis.com/buzz/v1/activities/v.kiril/@consumption - server replied:
Not Found"
I've got this url from the Google Buzz API. And I've tried to use my personal google profile ID and this @me namespace. Without success
OS: Windows XP/Vista
Qt version: 4.6.1
Using OpenSSL
I need to watch the actual requests and responses that is going through the wire for QHttp requests and responses and in some cases need to interrupt the request. I tried with few of the http debuggers available in the market but they seem to work only for requests that are using the WinInet functions. Unfortunately, the openssldump utility is not present on windows platforms.
Thank you.
hello
i want to add a headers and index to a list in pyqt , it's really not important what list of QT (qlistwidget , qlistview , qtablewidget, qtreeview)
in short .. i want something like the spin box delegate example in the pyqt demo ...
but instead of the index in the column headers i want a strings ...
hope the idea is clear enough
thanx in advance
Hi im trying to set opacity to QListView , that sits on QDialog
i mange to set the QDialog transperant with setting the :Qt::WA_TranslucentBackground = true
but the QList doesn't become transparent with i set the setWindowOpacity to 1 or 0
In Qt Website, it is mentioned that we can bind XQuery variables to program variables, but I didn't understand how it decides variable type (QVariant::String,QVariant::Int). As long as I see it doesn't use any XML Schema.
Do you any idea about how it decides variable type?
Are there any high-level, cross-platform, and abstracted (simple to use) widget toolkits for C that are either very lightweight and fast or can be compiled for other toolkits, such as Qt and GTK+?
Hello. I have a QString. I need to create a copy of this QString. In Delphi this function copy
function Copy ( Source : string; StartChar, Count : Integer ) : string;
I need the same in Qt.
Thank you.
Trying to inject CSS and JS files reachable through Qt resources (qrc://) through JavaScript (using this technique) which itself is injected through a evalutateJavaScript() call fails fails miserably hitting this test in QNetworkAccessFileBackend.
I can't figure how to make this work, really. I could subclass QNAFB but then I would need to subclass QNAM as well to make it instance my subclass instead of QNAFB?
im using Qwebkit to load heavy html page but mean while i don't what to show the user
blank page , how can i in QT load the html page in the background and in the mean while
show another HTML page in the same QwebKit widget ?
I need to exec() a QApplication in a thread that is not main (my GUIs must be plugins that can be dynamically loaded and unloaded at runtime, so I have no access to the main thread). Does anyone know of a (relatively) painless way to hack around Qt's restriction against starting QApplication outside of main?
I'm developing in Linux with Qt4 in C++ using gcc4.3.4.
What i did:
create a project,
edited the ui file with the designer tool,
ran the project, everything is ok
tried to add to my cppfile:
connect( pushButton_bracketBegin, SIGNAL( clicked() ), this, SLOT( pushButton_bracketBeginAction() ) );
but i get the error "‘pushButton_bracketBegin’ was not declared in this scope". this is my first project in qt and it should be fairly simple i guess (but yet out of my grasp ) :) appreciate the help
Hello,
I have implemented a marquee text widget using Qt4. I painted the text content onto a pixmap first. And then paint a portion of this pixmap onto a paint device by calling painter.drawTiledPixmap(offsetX, offsetY, myPixmap)
My Imagination is that, Qt will fill the whole marquee text rectangle with the content from myPixmap.
Is there a ever faster way, to shift all existing content to left by 1px and than fill the newly exposed 1px wide and N-px high area with the content from myPixmap?
FIRSTLY
apologies for english, embarased i am afghanistone i am team america no worrie
u had large program that store not only config but a bunch other project relation settings in SQLite db.
how can I save the db as project.newb file extension and thencan auto open in my porgram??? need INstaller setting??
How do i detect when this has happened, user open .newb file, happen in Qt, so i can load project?
PLEASE HELP i fear family life if unable completed
I want to start a new C++ (Qt) Open Source project and I'm wondering if there is an existing template somewhere for files usually found in an Open Source project but that are not purely source code (README, LICENSE, CHANGELOG, etc.)
I could probably find a popular Open Source project for inspiration but if there is some existing generic templates, I will use that instead.
Thanks.
When i click a button my main window i want it to become transparent to keyboard and mouse events, i.e. all keyboard and mouse events should pass to any windows below it as if that window is not present there.
"Qt::WA_TransparentForMouseEvents" does not work here as this only make child windows transparent to keyboard and mouse events i guess. And my window is main window and i want to pass all event to any window on desktop not just parent window.
Hello.
I have a console input in my Qt based application, it's a QLineEdit, all Ui is designed via QtDesigner. Is it any easy way way to handle up and down arrows in order to implement input history? The 'go to slot' only show returnProcessed signal, no way i can see to handle up and down arrows :(
I have a QMainWindow with three widgets inside that are promoted to a class containing a subclassed QThread. They each draw on a local QImage in their rexpective qthread which is sent with a signal once its drawn and then rendered by calling update (mandlebrot example) from the slot. Is this safe or dangerous? They do not share any data, at least none that I am generating and am wondering what data they could be sharing that is outside of my coding range ie that is generated by Qt automatically.
I have an application where I can launch a modal dialog box over a main window. The main window has some network activity going on in background which updates my background UI. Due to this the application menu becomes accessible even if the modal dialog is open.
How can I avoid this? Any help is appreciated.
I am using Mac, Qt, Carbon.