Questions tagged [qt4.8]

For issues relating to using the Qt framework, version 4.8 and no other version. Do not use if you just accidentally use that version. Use the tag qt for Qt related issues that will likely occur in other versions as well.

Qt (pronounced officially as cute (/kyut/) though commonly pronounced as Q.T. (/ˈkyu ti/)) is a cross-platform application development framework widely used for the development of GUI programs (in which case it is known as a widget toolkit), and also used for developing non-GUI programs such as console tools and servers. wikipedia

Qt was created by Trolltech, and is currently developed and maintained by Digia.

330 questions
0
votes
1 answer

QUrl and YouTube (Qt 4.8)

I have an encoded YouTube url (directly to the video),…
0
votes
1 answer

'_get_timezone' was not declared when trying to compile using MinGW

I use QtCreator 2.6 with Qt 4.8.4 and trying to compile my code on Windows 7 x64 by MinGW (4.4, 32bits). I included Apache Thrift to my project, and got errors on file thrift\windows\GetTimeOfDay.cpp: 'errno_t' was not declared in this…
NG_
  • 6,895
  • 7
  • 45
  • 67
0
votes
1 answer

Qt - How to Use Key Pressed Event for a LineEdit which accepts only the Integers

I'm a new bie to Qt C++.. I have a QLineEdit. In which i have to Enter only the integers. If i press an Alphabet or any any other character my QLineEdit should not accept it. How to do this in qt with C++? Please Help To solve this.
New Moon
  • 787
  • 6
  • 21
  • 35
0
votes
1 answer

Is it possible to use a QWebPage in a QThread based class?

In a QThread based class, I have a QWebPage, when loadFinished(), I need to parse the contents, it would stuck the UI. So I put everything in a thread: class Thread: public QThread { public: Thread (QObject *p): QThread (p) { …
daisy
  • 22,498
  • 29
  • 129
  • 265
0
votes
1 answer

How to pass along menu shortcuts from child widget holding focus in PyQt4?

I have a QMainWindow with a menu bar, including menu items for Save, Open and Quit with the usual shortcuts. It creates a QTableWidget that lists a bunch of different categories from which the user can choose (at his option). If the user clicks…
Brian B
  • 1,410
  • 1
  • 16
  • 30
0
votes
3 answers

build a qt 4.6 from a qt 4.8

I have a project in qt-creator. that computer have Qt: 4.8.2 one of the computers i want to run the application on have Qt: 4.6.2 I can see that qt-creator have an option under the project for QtVersions, but i only got one option there "Qt 4.8.1…
Puggan Se
  • 5,738
  • 2
  • 22
  • 48
0
votes
1 answer

Qt - How to expand or Collapse my QTableView

I have a QTableView with some items in it. If i click on any row, that particular row has to expand with some QPushButtons in it. I had attached the screen shot of it. How can i achieve this? Need ur help. Thanks in Advance.
New Moon
  • 787
  • 6
  • 21
  • 35
0
votes
1 answer

QMdiArea does not emit customContextMenuRequested signal

I created QMdiArea in the main window, then I want to right click on the MDI area to get pop-up menu. To do this, I placed the following code in the constructor in the main…
yongqiang
  • 21
  • 3
0
votes
0 answers

After compiling a program in Qt with a icon, the icon which is on taskbar looks worst

I have made a GUI version of one of my program with icon, my problem is when my program starts then the icon in task bar looks worst and pixelated whereas if I compile a non-GUI version of the same program with Code blocks and same icon then the…
Varun Chitre
  • 3,050
  • 4
  • 23
  • 33
0
votes
1 answer

Qt4 include file prevent emacs semantic or auto complete from working?

I spent many hours to configure and test emacs semantic and auto complete for Qt4. I found that these CANNOT even parse or find the Qt4 include file because of the indirectly include. For example, QString> include qstring.h (include…
Yan Gao
  • 181
  • 1
  • 3
  • 11
0
votes
2 answers

Declaring QStringlist variable globally, Getting location path using QFileDialog and printing it to a lineEdit and using it in QProcess

I am using Qt and I need some help How to declare QStringList variable globally in Qt so that I can access it in any function? How to print all the stuff in QStringList(it contains the file path which it took from QFileDialog) to a lineEdit? I…
Varun Chitre
  • 3,050
  • 4
  • 23
  • 33
0
votes
1 answer

Qt4.8.1 undhandled exception at QMdiArea::addSubwindow

I compiled Qt 4.8.1 with these instructions: http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/ for my system (Visual Studio 2010, x64). The compilation worked and everything seemed Ok. While compiling there…
drakon
  • 125
  • 9
0
votes
0 answers

Application slower on qt 4.8.0 than 4.7.4

I have an application that I was developing with Qt 4.7.4 but I had the problem (the bug is reported) with the button's (too small) hit area. So I change for Qt 4.8.0. Now my problem with the button is resolved, but my application runs really slower…
castors33
  • 477
  • 10
  • 26
0
votes
1 answer

How do I pass QMainWindow resize events down to a QGLWidget contained in the QMainWindow?

Initially, I followed the structure of http://qt-project.org/wiki/How_to_use_OpenGL_Core_Profile_with_Qt. I created a vanilla Visual Studio 2010 Qt application project, clicked on the .ui file to start Qt Designer, inserted a QWidget and promoted it…
Walt Donovan
  • 357
  • 1
  • 10
0
votes
1 answer

Error in adding QTabWidget to QDialog

I am trying to create UI like.. for this created a subclass from QDialog and trying to add Menubar and Tabwidget via QVBoxLayout, I am able to add MenuBar successfully, but when I add Tabwidget .. TabWidget = new…
Prady
  • 663
  • 3
  • 11
  • 28
1 2 3
21
22