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

iOS/iPad fstream pointer error

std::fstream* ptr_fsZoomfile = new std::fstream(ss.str(), std::fstream::in | std::fstream::binary); This line works great on Linux, Mac, Windows and Android. On iOS (iPad) it crashes. File is all OK...

View Article


GridView and transitions not working

Hi, I’m trying to get my GridView to animate transitions on operations performed on my C++ model (exposed as a QQmlListProperty). But they don’t work. The following snippet works:  GridView {...

View Article


[SOLVED] Qt smart pointers and factory methods

I like Herb Sutter’s advice (blog post [herbsutter.com]) to return an std::unique_ptr from factory methods. Using unique_ptr expresses the fact that the factory doesn’t retain the object (if it was a...

View Article

Fast solution to list directories recursively

Do you know a faster solution to find all of the directories by Qt(QDirIterator is too slow) QDirIterator directories(dir_, QDir::Dirs | QDir::NoSymLinks | QDir::NoDotAndDotDot,...

View Article

qt creator crushes

I what to look in the help index for something like qtextdialog. when I open the qt creator->help->index->look for, and i type “qtextd”, it creashes on the ‘d’. try it with your...

View Article


Anonymous union

Qt creator doesn’t auto complete anonymous union, for example struct S {  enum {CHAR, INT, DOUBLE} tag;       union {        ...

View Article

Creating a custom sqlite3 function in a Qt program

Hello, In a Qt 5.2 program I open an SQLite database and I can use it well. Then I take the files in Qt source code (Src/qtbase/src/3rdparty/sqlite), I include sqlite3.h and add sqlite3.h and sqlite3.c...

View Article

QSS and drawComplexControl()

Hi! I have a QDialog containing a QTableView, along with a custom delegate showing a QComboBox for enum types. When the row is not selected, I still want the QComboBox to be visible (I would like to...

View Article


Resolution change issue

In QT 5.2 QDesktopWidget and QScreen classes don’t respond to screen resolution change while application is running, that is corresponding signals are not emitted, incorrect height and width are...

View Article


QtCreator 3.0.0 not showing files from included *.PRI files

Tried to install Qt5.2 and try it with an own project currently developed with Qt 4.8, but in the Project View the included files are not shown for any included *.PRI file. The files are however...

View Article

QtDesigner project will not compile on Windows

I have a project build 90% with QtDesigner but includes SQLite database support. My problem is that it compiles and runs perfectly on Linux Mint 16 but not on Windows XP. Both have Qt 5.2.0 from the...

View Article

Resources and folders

Hello I need a little help here. I want to save qmls in folders so they are easier to find and work with, but I don’t know how to deal with the resources system when doing this. (If all files are saved...

View Article

pixel subtraction on a video : how to get a serie of images ?

Hi all, I have some issues to make some post-processing on a video. Just to start, I would like to make a simple pixel subtraction on a video, my code looks like the following :    ...

View Article


QCompleter - setCompletionColumn all

hi, the setCompletionColumn allocates the column where the search is performed. I want to set QCompleter to search in all columns of a query, not only in the default one, or the setCompletionColumn? Is...

View Article

OSX menu icons

I try to hide the menu icons on a OSX build. From the documentation (5.2) I tried: void qt_mac_set_menubar_icons(bool enable); But getting this link error: Undefined symbols for architecture x86_64:...

View Article


how to disable window move?

my window is Qt::Tool i want disable move window while i hold LMB on title bar

View Article

qtableview + proxy model + sqltablemodel problem getting correct data

Hi, I’m trying to get the value from the selected cell of a QTableView. The table has a QSqlTableModel and a QSortFilterProxyModel. If I use the signal doubleClicked(const QModelIndex &index)...

View Article


QInputDialog problem on IOS

Hi, I have the following problem with QInputDialog on IOS 1) setOption(QInputDialog::NoButtons, true); // Don’t seem to work 2) This plugin does not support propagateSizeHints() // I got this regulary...

View Article

Interacting QML with external C++ OpenGL library

Hello, I am in the process of building a desktop OpenGL 3.3 app that would use QT5 QML for the UI parts and an external C++ standalone application (Core Renderer) for rendering the OpenGL scene. The...

View Article

Qt Installer framework - Copying files to location other than install directory

Hello, I know that, whatever data is placed in package/component dir/data, will be copied to the install directory. What I mean is if I have a binary, readme, license.txt inside package/component...

View Article
Browsing all 13965 articles
Browse latest View live