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

Qt Quick and Database

Dear all, I’d like to create a simple app. It’s just a form that reads data from a database and, somehow, it simply displays in some fancy way (that’s why I choose Qt Quick) The data within the...

View Article


Why Qt's creators uses two methods to provide OpenGL support( QGLWidget,...

One of those are provided early when Qt4.2(or earlier) released, which can integrate well with Qt’ graphics – view framework; But the new comer( QWindow, QSurface, QOpenGL*) seems have little in common...

View Article


Linking Unit Test to MyProject

Hello, I’m trying to make an Unit Test (using CppUnit) for MyProject. I will describe the situation first. I made 2 separated projects: MyProject and UnitTestProject. The hierarchy looks like this: +...

View Article

Assign C++ object to Text element (implicit conversion to QString)

Hello, I’m trying to implicitly convert an object to QString in order to assign it to a Text element in qml. I think an example makes things clear: class Bar : public QObject {    ...

View Article

Rich text formatting font changing problem, working code example

Hello, I have a problem with changing font in a qtextbrowser. Or let it be qtextedit, does not matter. I can change everything, like making text underlined, change its color, and so on, and if I...

View Article


Sample OpenGL system coords

How can I draw this [dl.dropboxusercontent.com] system coord in Opengl using Qt5? Can anyone also help me to understand the settings for Opengl?

View Article

Question about migrating OpenGL from QGLWidget to QWindow

I’m migrating a project from Qt4 with OpenGL in QGLWidget to Qt5 with OpenGL in QWindow. This project [github.com] from Sean Harmer Dev Days Talk [youtube.com] has help me with with some doubts, but...

View Article

Why QString no need to include?

I can use it without include header file. Why I can’t use main header instead sub header file? Ex. B inherited from A Why I can’t just include A? Just curius, hope this not wrong place to ask again...

View Article


QML Flickable doesn't scroll properly

I am a beginner in QML, so I apologize if this seems like an obvious question. I am trying to make a simple browser and I have put the WebView inside the Flickable. But the problem is when I drag the...

View Article


Widget Painting Problem in QT 4.8.X

Hello All. I have a strange painting problem in QT 4.8.X and am wondering if someone has seen this before. In my app, I have a QMainWindow. (Please see attached screen cap for reference). As a child of...

View Article

Problem with QTcpSocket version Qt 5.1.0

Hi everybody, I have started a QTcpServer for listening like this server->listen(QHostAddress::Any,53210) and it has start listening correctly but, when I connect with Qtcpsocket from another IP...

View Article

Error creating MySQL drivers for QT5.1(mysql.h no such file)

Hi. I’m trying create the drivers for MySQL to connect to QT5.1. Below is my set-up process and the error that it picks up, mysql.h no such file. Setting up environment for Qt usage…...

View Article

Project already open??

Qt 1.x.x I launch Qt, using File->Open Previous project I choose a project, I then switch to Edit Mode, but instead of seeing the Editor I get a blank page. If I try to open the file again I get...

View Article


QWebView using setHtml :- images do not refresh

I’m using setHTML to display some generated, template-based HTML which also contains some generated images. By template-based, I mean that I have a “template” HTML file which I read in as text, then I...

View Article

Connect QLocalSocket to a Local Domain Socket in a non-Qt application

Hi, Can I do IPC between a Qt application and a non-Qt application using QLocalSocket in the Qt application and local domain socket in the non-Qt application. I am using Linux. Thanks

View Article


Qt 5.1.1 - QSqlQuery not return a correct QDateTime

Hi, I’m using Qt5.1.1 on Kubuntu 13.04. I’m trying to return a database firebird, the current date and time. This code has worked in Qt 4.8, but Qt5.1.1 not functional, see the code snippet: QSqlQuery...

View Article

[SOLVED] set CONFIG variable at SCONS

How set the variable CONFIG=plugin of qt, at a scons script? thanks

View Article


Install Qt/Qt Creator as root

I’ve used the online installer to install Qt 5.1.1 and Qt Creator 2.8.1 on my Kubuntu machine. The default option was to install everything in my home-directory. I don’t like that, desktop indexers...

View Article

qt ffmpeg wrapper example not working out of the box

I’m using a rapsberry pi and qt 4.8. I’m new to this so I am unsure, do I need to install ffmpeg on its own along with this wrapper, or are all the files needed included? The error I am receiving is...

View Article

Is there a quick library or third party to save a live raw byte array to a...

I have a live camera stream which I can convert into a QImage and save as pictures, but I want to be able to “Record” it as well and save to a video format (.mp4, etc). What is the easiest way to do...

View Article
Browsing all 13965 articles
Browse latest View live


Latest Images