Questions tagged [qt5.3]

Version 5.3 of the Qt library, that is a cross-platform application development application and UI framework. Tag this only for the issues with Qt 5.3 not other versions.

Version 5.3 of the Qt library, that is a cross-platform application development application and UI framework.

More information about new features in Qt 5.3 is here

114 questions
0
votes
1 answer

QWebFrame export xhtml

We abuse the QWebFrame as a html parser QString html = ""; QWebFrame* frame = htmlProcessor.mainFrame(); frame->setHtml(html); QWebElementCollection inputs =…
wutzebaer
  • 14,365
  • 19
  • 99
  • 170
0
votes
0 answers

QComboBox text partially hidden

For certain websites, the content is not getting displayed properly in QComboBox and the text is partially shown. There may be some issue with the height of the combo box which is not getting updated from the website contents. I have checked on…
amit kumar
  • 21
  • 5
0
votes
1 answer

glActiveTexture in Qt and QGLWidget?

I have a small application on OpenGL+GLEW. Now, I am trying to rewrite it with QT(instead of GLEW). But I have a problem. IDE writes: 'glActiveTexture' was not declared in this scope glActiveTexture(TextureUnit); …
Denis
  • 719
  • 2
  • 8
  • 23
0
votes
1 answer

Qt Syntax Highlighter Example highlighting rule for single line comments

Taken from Qt Syntax Highlighter Example: //single line comment rule singleLineCommentFormat.setForeground(Qt::darkGray); rule.pattern = QRegExp("//[^\n]*"); rule.format = singleLineCommentFormat; highlightingRules.append(rule); //string…
Alex Pappas
  • 2,377
  • 3
  • 24
  • 48
0
votes
0 answers

Reading excel file (.csv) using ODBC driver in Qt

I have a csv file that I'd like to parse in Qt. I'd like to use the sql plugin, but I'm not sure how to get things set up. I currently am unable to open the .csvfile from my Qt app--I have to manually open it then start my app in hopes to query from…
Rachael
  • 1,965
  • 4
  • 29
  • 55
0
votes
2 answers

Unable to retrieve multiline data from qtcpsocket qt

I am writing a function to communicate with a test server that I didn't write. I send a command, and need to immediately capture the multi-line response before doing anything else. Of course, I'd like to not block my whole UI, which shouldn't be a…
Rachael
  • 1,965
  • 4
  • 29
  • 55
0
votes
1 answer

How to deploy audio/video files together with iOS/Android app? Using Qt 5.3

I have learned that I can not bundle audio/video files within resource file in order to play them in my qml. So, I have tried to use DEPLOYMENTFOLDERS in .pro file it does not copy the files. It seems that QtCreator does not generate necessary code…
choi
  • 1
0
votes
0 answers

C++ code distribution: faulting module ntdll.dll

I built a c++ win32 console app using VisualStudio 2013 on a windows 8 machine. It was running smoothly on my laptop. Yet, when I tried the distribution version on another windows 8 laptop, myproj.exe file crashed. Having looked at the "Event…
QuestionMark
  • 412
  • 1
  • 4
  • 16
0
votes
1 answer

Calling the paintGL explicitly in QT

IN Qt, the paintGL method is called automatically due to events mentioned in this post: When is QGLWidget's paintGL called?. What do I need to do if I need to explicitly call the paintGL method from one of the class functions. void…
Sunil Nair
  • 383
  • 2
  • 5
  • 15
0
votes
1 answer

Call parent class' paint event in derived class?

In a QDockWidget derived class I enable style sheet support as follows: void CDockWidget::paintEvent(QPaintEvent *event) { QStyleOption opt; opt.initFrom(this); QPainter p(this); …
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
0
votes
1 answer

QGraphicsView issue

I dont understand what`s going on: when i create QGraphicsView object directly and adding scene with a pixmap, all is ok, pixmap appears on the screen: scene.addPixmap(pix); QGraphicsView graphicsView; graphicsView.setScene(&scene); But when i try…
Ivan
  • 876
  • 1
  • 8
  • 22
0
votes
1 answer

Boost unit test Qt signal

Using Boost Unit Test framework to perform unit test on C++\Qt code. We are basically using BOOST_FIXTURE_TEST_CASE macro as shown in documentation. For each test we create an instance of QApplication to setup the event loop and enable the test code…
LarsA
  • 595
  • 2
  • 6
  • 14
0
votes
1 answer

How will users add extra functionality in QML based plugin system?

I've got a small application where users may create their own plugins as QML-files. These plugins get notification upon certain events and their user-interfaces are displayed one-by-one in a TabView. Some plugins however need functionality which…
Hedge
  • 16,142
  • 42
  • 141
  • 246
0
votes
1 answer

Bind CheckBox checked-state in TableView to custom model attribute

I've got a QML-application containing a TableView with two columns. One of them is a CheckBox. Now I created a model derived from QAbstractTableModel. Reading data for the ordinary text-column already works but how do I sync the checked-property for…
Hedge
  • 16,142
  • 42
  • 141
  • 246
0
votes
1 answer

Make TableViewColumn not resizeable

I've got a TableView with two TableViewColumns and would like to prevent them from being resized. How can I do this? TableView { TableViewColumn { title: "Name" width: parent.width - 20 } TableViewColumn { width: 18 …
Hedge
  • 16,142
  • 42
  • 141
  • 246