Quantcast
Channel: Installation and Deployment
Browsing all 22112 articles
Browse latest View live

Qt 4.8.4 tslib trouble (tslib version?)

Hello, I’m new to both Qt and Linux Embedded. I’m trying to get tslib working with Qt on a TI arm AM1808, Embest development board, and I’m struggling a fair bit. The target is running prebuilt...

View Article


binary data

Please help :’( I am reading a image example a.jpg by QFile file(“d:/a.jpg”); file.open(QIODevice::ReadOnly); QTextStream st(&file); when you extract info like st.readlAll(); we get all the...

View Article


how many engineers are now working at Digia on Qt?

Hi Does anybody know how many engineers are working at Digia on Qt? Thanks!

View Article

Resizing QMainWindow

I know that this is discussed all over Internet (I just finished a few hour long Googling), but I still cannot find answer for my question. Short story: I need to resize a QMainWindow on certain event,...

View Article

Center screen on image which will move

How can I do it in Qt Creator (best in qml)? I want make 2D game (using Box2D plugin) where screen is centered on image and image will be in move. For example screen is centered on bird in angry birds...

View Article


[SOLVED]QByteArray values to hex formatted QString

Hi! I’d like to display QByteArray byte values in my plaintextedit in the following format: 00 00 00 …. 00 (20 values per line) 00 00 00 … 00 ..etc I’m using QString::number ( qbytearray[i], 16) but it...

View Article

Proof of Concept: Qt-Based Prezi clone using Qt Graphics View Framework (C++)

Greetings! Just made some realization of the similarities between Prezi [prezi.com] and Qt Graphics View Framework [qt-project.org] I created a proof of concept (example) at my blog, QtSimplify...

View Article

Streaming into default-constructed object

I want to create a static constant by streaming into a default-constructed object. However, the compiler cannot locate the streaming operator, although I provide it: QMap<float,...

View Article


How to setSortRole for QTreeWidget ?

I have QTreeWidget based class and need to do sorting by Qt::UserRole. How can I do this ? I know that QStandartItemModel has such method and treeWidget has model() method which return model, but it’s...

View Article


[Solved] After removing widgets from layout with vertical spacer the spacer...

After clearing the content of a vertical layout it seems that the spacer that was there is also removed. At least, after the widgets in the layout are removed, and new widgets are added, the spacer...

View Article

Backround-color for a styledpannel | sunken QLabel

I would like to set a particular color to the sunken part of the design, that is to say a color following the inside part of the box. If I    ...

View Article

[RESOLVED] How to make a QSplitter the top Widget use always 60% of screen?

Hello, I have a QSplitter on my screen, and I have to QWidgets inside, one on the and other on the bottom… So I need that always the TOP Qwidget use 60% of screen… How can I make that? Thanks a lot.

View Article

QGraphicsScene and scale independent graphics

We have a QGraphicsScene that uses the BSP tree to rendering a combination of normal QGraphicsItems and items that dynamically change their rendering based on the viewport and device scale. We do this...

View Article


Debilitating regression bug in 4.8.x

https://bugreports.qt-project.org/browse/QTBUG-27043 We rely heavily on QListWidget to have real-live widgets with complex controls as rows. We cannot implement this complex row design with QListView...

View Article

Run console application in background (as service/daemon)

Hi! Say I would like to run a console application (for example a server) in the background on my linux machine, that can be started/stopped/restarted with ./MyApp <start|stop|restart>....

View Article


OS X - Key sequence Command + W is not received

I’m trying to get my app to respond to Command +W among other shortcuts. For some reason the keyevent is never called. Currently Command +q and Command +h work, but they do not call the key event...

View Article

where does the extra bytes come from?

with the following codes, when monitored by WireShark, there are extra 4 bytes 0,0,0,0×26(&) coming before my string “aaabbbccc…” in the UDP Packet data part. where are these bytes coming from?...

View Article


QDeclarativeImageProvider::requestPixmap called twice when using Image with...

I am using QtQuick 1.1 and I have a QPixmap provider called by an Image element with cache property set to false:    Image {          ...

View Article

qt5 static 32 bit source build - app mainwindow wrong color

I did a static build of Qt 5 from git (Qt 5 5.0.2) on Linix Mint 14 32 bit. When I build my app using the static kit and then run the program, the MainWindow is a different color (darker) than the...

View Article

Qt Animation

Hello, I am pretty new to QT. I am trying to construct an animation sequence, where the animations start at different times and have different durations. I looked at...

View Article
Browsing all 22112 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>