Quantcast
Browsing all 13965 articles
Browse latest View live

Python sending a html email with a gif, prefering plain text alternative over...

This script seems to work, but it always sends the plain text email with the gif as an attachment, rather than the html email with the gif inside it, does anyone know why? import smtplib from...

View Article


[SOLVED}Making noises when buttons get pushed.

I want to get a button to make a noise when it gets pushed so I know it’s sent an email, someone previously told me I need Phonon, but I can’t find it anywhere, is there any other way of doing it that...

View Article


[SOLVED]QTimeLine setPaused doesn't pause the time line correctly

I am using QTimeLine with Qt 4.8.4 and it seems that the implementation for setPaused() doesn’t actually pause the timeline correctly. In basic terms I have setup a QTimeLine with a duration of 5000...

View Article

What is .qmlproject file?

Hi All, Could you, please, explain me what is the .qmlproject file? I see that many QtQuick Controls tutorials contain both .pro and .qmlproject files, and some of the tutorials contain only...

View Article

Transparent QQuickView on Windows 7, works with Qt5.0.2 but broken on Qt5.1

Hi! I have this effort on creating transparent window in fullscreen for QML apps (running on Windows 7 with aero enabled). I’m using this combination of viewer.setColor(QColor(Qt::transparent)) as...

View Article


Interaction between a terminal and a window

Hi, I have an application composed by two different parts: a window and a terminal. The terminal interacts with my window : for instance the terminal asks to a user the number of the shape he wants to...

View Article

scroll the zoomed image

hi .m new to qt .and i have done zooming .actually i just drawn a rectangle and zoomed it using paint.scale() function.now i want i want to add 4 arrow buttons and on click of each arrow i want to see...

View Article

Detect if Qt project is parsed from Qt Creator or command line?

In our project we specify compilation mode (debug/release) in the project file. This works fine when compiling from command line, but when compiling in Qt Creator I would like to use debug and release...

View Article


Qt unable to get redirected url response

I want to download image by using this link http://interactiveplaylist.com/art/mbidlarge.php?mbid=53ccdacc-3e3e-449b-995e-b280666dc28c but on get method url it redirect to another url i.e....

View Article


The platform plugin failed to create a message window

Hello! I have a problem with Tray Icon creation on qt5.0.2. I use Windows 7 64 bit, and I does not have a administrator permission on these machine. The following check are ignored: if...

View Article

Can't we have two Rectangle objects defined in a single qml file?

Hi, I have a Rectangle object defined in the default qml file that we get when we create a new project. I wanted another screen to open up on click of mouse. For this I tried to create another...

View Article

Dynamic multilangual re-evaluation of qml Text in C++ using qsTr() function...

Hi everyone, I would like to know if there is any possibility to use qsTr() or it’s functionality in C++ to re-evaluate a qml Text element via C++ instead of the approach suggested in this article when...

View Article

Qt Creator i nagłówki z biblioteki STL

Witam. Mam pytanie, czy to normalne, że Qt Creator nie znajduje plików nagłówkowych STL z MinGW ? Czyli: Tworze sobie projekt Qt bądź nie używający Qt C++. Tam mam np. #include <iostream>...

View Article


I am having a problem with the keyboard enter key and the editor in QT.

I am having a problem with the keyboard enter key and the editor in QT. Normally in text editors, I can get a statement to move to the next line by pressing the enter key on the keyboard. However, when...

View Article

Linux / Window default close button / Segmentation fault

Hi everybody, Linux machine: Ubuntu 12.04/Ubuntu Unity gcc-Version 4.6.3 Qt5.0.2 Starting an application from the console I’m currently facing a challenge regarding the windows default close button...

View Article


ActiveQt signal not fired to com interface Qt4.8.4

Hello, It seems that signals of QAxBindable are not fired correctly. As it doesn’t work in my own ActiveQt project, I have tested the Qt4.8.4 simple Example (QSimpleAX) in Qt 4.8.4 “Active X Control...

View Article

Draw an image then convert it to pixels' matrix

Hi. I’d like to make a simple drawing area in my program, where the user can draw a simple black-and-white objects. After that I need this object in form of boolean pixels’ matrix[height][width], where...

View Article


Errors on build moc.exe: _compress2 and _uncompress

I have Qt 5.0.2. When building the error throws out:         link /NOLOGO /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /SUBSYSTEM:CONSOLE "...

View Article

strange behavior of "player" example from QT multimedia 5.0.2

Hi, I have built the example “player” from QT multimedia 5.0.2 on windows, (I have also build the qt libraries from sources); I have seen a strange behavior with the following sequence: 1. start the...

View Article

Can't get good looking antialiasing on lines

Hi! I’m drawing some graphs on a QWidget using QPainter. When I enable antialiasing there is an effect more akin to a doubling of line thickness in places, and pixel jumble in other places. IMO it...

View Article
Browsing all 13965 articles
Browse latest View live