Quantcast
Channel: QtWebEngine
Browsing all 13965 articles
Browse latest View live

QGraphicsItem : touch manipulation, how to ?

Hello everyone, I would like to manipulate QGraphicsItems in a QGraphicsScene by touch manipulations (scale, move, rotate, inertia). I searched but found nothing already implemented for this. I’m sad...

View Article


QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState

I am getting the following error: QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState Basically, I instantiate QUdpSocket and it seems to connect fine because on my log it says...

View Article


Stylesheet background color bug in Windows 8.0/8.1

I am currently migrating two large applications from windows 7 to windows 8.0/8.1. I’ve encountered the following bug: when a QLineEdit has a background color set (through a stylesheet), and the mouse...

View Article

How to use Drag.Automatic

Hi Guys, Just updated to 5.2 and eager to test external drag and drop but want to better understand Drag.Automatic. Right now I have this code sample: Item {        ...

View Article

Qt Creator中如何优雅地将工程目录下的.a加入.pro中

环境: Qt Creator 3.0.0 Qt 5.2.0 MinGW 4.8 有一个libmylib.a库文件,就在我的myproject工程目录内,需要链接给工程。 我目前的方式是在.pro内的LIBS中写: LIBS += -L”../myproject” -lmylib 因为Qt Creator默认的shadow build,是输出在工程目录平级的build目录。...

View Article


Problems setting QTabBar tab color, and understanding stylesheet-drawControl...

I’m new to Qt, and am trying to understand how QStyles work together with stylesheets. Specifically, I’ve been digging into the source to try and figure out why (and then patch, if needed) my attempts...

View Article

[SOLVED] Custom tabs

Hello, I would like to create custom tabs similar to “Tab Widget”…. I have three areas in my mainwindow… I would like to change only middle area on a similar way such as “Tab Widgets”… Is that...

View Article

stdlib.h: No such file or directory

Just installed QT Mobile. I the basic QT Quick project by clicking the “New Project” button. The project compiles just fine when I target the Windows desktop but when I select to build for Android, I...

View Article


Strange border appearing when hovering over Widgets in a QGraphicsScene

Hi all, I’ve got this QGraphicsProxyWidget which is composed of QFrames and QLabels. A stylesheet defines the appearance of the item. Everything works fine, except for a gray border which appears...

View Article


QML中文文字花屏

该图片是QML显示中文时出现现象。 哪位大师能发表一下意见,讨论一下问题出在哪里?

View Article

Qt Quick Components without Aero is displaying buggy (on windows)

I’m half way on my project. Qt Quick was awesome but when I change my theme in to a none Aero theme everything is buggy. Custom widgets are not displaying and updating correctly. Sometimes UI visual...

View Article

Android porting app X11 functions and variables

Hello! I’m trying to port application written with X11 fucntion and variables. For example: headers: X11/Xlib.h, X11/Xutil.h; functions: XOpenDisplay(), XQueryPointer(); variables: Display, Window;...

View Article

Qt5, eglfs, WebKit2 ,Qml and Snowshoe/MiniBrowser

hi there I’ve been playing around with getting a browser with proper WebGL support to run on my i.IMX6Q target. I have already tried the browsers from qt5 examples, i.e. browser and fancybrowser. The...

View Article


How to interpret Index matrix in the OpenGl Cube example

I am new to OpenGl. I was trying to understand the Qt OpenGL cude example code. I am confused with the indices matrix in the geometryengine code. The index buffer values that i found over the internet...

View Article

Student_Help

Hello and good day, I am trying to figure out how initiate the calculations as well as bring up the message box based on the Pushbutton Calculate being pressed ?? Please help. #include...

View Article


MSVS&Qt 5.2 QWebKit is not built

Hi there, I’ve downloaded Qt5.2. sources and tried to build it. While everything went smoothly I didn’t find QWebKit* dlls in the output folder. So I tried to go to qtwebkit subfolder and typed nmake –...

View Article

[Solved] Issues with eventFilter

Hi Since I have added an eventFilter on the Application object to catch all mouse/touch events to filter them I am having some issues . Basically, the eventFilter works. For debug purpose I just show...

View Article


Access to item inside a GridView

I have a gridview with images. When an image is clicked a dialog appears, which is defined outside of the gridview. When the dialog is clicked, the state of the previously clicked image should be...

View Article

QApplication::focusChanged analogue in qml

Is there analogue of/replacement for QApplication::focusChanged [qt-project.org] in qml?

View Article

QListView scrolls up on list item drop.

Hi guys. I read a couple of notes about enabling items reordering in the QListView. I reimplemented flags() and supportedDropActions() methods and it seems to be working. I can take an item from the...

View Article
Browsing all 13965 articles
Browse latest View live