qt5.6

Building QtWebKit with QT 5.6 on Mac 10.11

我是研究僧i 提交于 2019-12-23 04:45:16
问题 I'm trying to build Qt 5.6.0 (new release) with Qt Webkit on Mac OS 10.11 and I have a compiling error when I try. I downloaded the tar.gz source of 5.6.0, then I downloaded QtWebkit source from Community folder for 5.6.0. I added the qtwebkit folder in the same folder of qtbase like previous version. Anything else is needed? I'm using this configure: OPENSSL_LIBS='-L/usr/local/opt/openssl/lib -lssl -lcrypto' ./configure -nomake examples -opensource -openssl-linked -I /usr/local/opt/openssl

QWebEngineView crashes on load() or page() method

♀尐吖头ヾ 提交于 2019-12-22 08:17:15
问题 I'm working on porting a Qt 5.5, QWebView project to Qt 5.6 (beta), QWebEngine. I've gone through the porting guide here. My code looks like this: .h file defines _view like so: QWebEngineView* _view; and the .cpp constructor (class inherits from QWidget) has: QVBoxLayout* vbox = new QVBoxLayout(this); _view = new QWebEngineView(this); connect(_view, SIGNAL(loadFinished(bool)), this, SLOT(loadPageFinished(bool))); QString webDir = getReportBasePath() + no_tr("/index.html#") + startingPage; //

How to fix QT VS Add-in for Qt 5.6 beta and VS2015?

亡梦爱人 提交于 2019-12-20 03:20:39
问题 I did not compile Qt myself, rather I used installer from official Qt website (5.6 beta is available since few days ago). Installation was successful, Qt folder conatins bin folder with qmake and everything. Building apps in Qt Creator works. However, when I try to launch Qt using VS addin 1.2.5.9 I get error No default Qt version found. Pleae check your Qt Visual Studio Add-in settings. I have edited QT5 -> Qt Options to contain the correct Qt path to 5.6 beta, error still persists. I have

How to use MinGW-64 with Qt Creator

旧街凉风 提交于 2019-12-17 15:29:20
问题 I am aware that there are many post about this, but I honestly didn't understood any of it. So, how do I install a kit for my Qt Creator (open source 5.7)? I already downloaded and installed MSYS2.... don't know what to do with it. I already downloaded and installed Qt64 - NG.... no clue what to do next. I just want to be able to develop in Qt and chose betwen MinGW 32 and MinGW 64. Thanks in advance! EDIT: I also checked the wiki page. Most of the commands didn't worked. And I was told that

QSqlDatabase: QMYSQL driver not loaded on Ubuntu 15.04 64bits

别等时光非礼了梦想. 提交于 2019-12-17 14:23:07
问题 In Ubuntu 15.04 64 bits I installed Qt5.6 (online installer) and while trying to move my development environment from Windows 7 to Linux I faced the following: SqlDatabase: QMYSQL driver not loaded Following this, I managed to find ~/Qt/5.6/gcc_64/plugins/sqldrivers/libqsqlmysql.so and then: $ ldd libqsqlmysql.so linux-vdso.so.1 => (0x00007ffffd571000) libmysqlclient_r.so.16 => not found libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe94ef24000) libcrypt.so.1 => /lib/x86_64-linux-gnu

QSqlDatabase: QMYSQL driver not loaded on Ubuntu 15.04 64bits

五迷三道 提交于 2019-12-17 14:20:15
问题 In Ubuntu 15.04 64 bits I installed Qt5.6 (online installer) and while trying to move my development environment from Windows 7 to Linux I faced the following: SqlDatabase: QMYSQL driver not loaded Following this, I managed to find ~/Qt/5.6/gcc_64/plugins/sqldrivers/libqsqlmysql.so and then: $ ldd libqsqlmysql.so linux-vdso.so.1 => (0x00007ffffd571000) libmysqlclient_r.so.16 => not found libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe94ef24000) libcrypt.so.1 => /lib/x86_64-linux-gnu

Casting QByteArray to `long` outputs different result for same input

≡放荡痞女 提交于 2019-12-13 07:36:56
问题 EDIT: Added full MCV example project. I have a strange problem where the same code and same input produce different output values. The purpose of the code is to test a function that takes a value packed into 4 bytes, and unpack it into a single 32bit value. The expected value of value1 , value2 and value3 in test_unpack() is 2018915346 (i.e. 0x78563412 because of little-endian unpacking). I got this method of unpacking from another answer. Below is an MCV example that you can easily build and

Qt5.6 signals and slots overloading

六眼飞鱼酱① 提交于 2019-12-11 13:53:38
问题 I have created a class for handling data received from slots and have created several overloaded methods of the same name with a different parameter type. Is it possible to use overloaded methods as slots? I have two declarations so far: void notify(uint uintData); void notify(float fltData); However the 2nd produces a warning at runtime: QObject::connect: No such slot clsSlot::notify(float) Found this which implies it should work: http://doc.qt.io/qt-5/signalsandslots.html But it doesn't...

Qt 5.6 + multimedia + gstreamer

橙三吉。 提交于 2019-12-11 12:47:28
问题 Okay here's the deal. I am on Ubuntu 14.04 LTS, have installed Qt 5.6, qtmultimedia5-dev, gstreamer0.10 (and 1.0), and libqtgstreamer-dev. I am STILL getting this error when I try to use a QAudioDecoder: defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.audiodecode" What am I missing? 回答1: Might be a bit late. I'm having the same problem. Installing gstreamer plugins solved the issue. 来源: https://stackoverflow.com/questions/36465073/qt-5-6-multimedia

QSqlDatabase: QMYSQL driver not loaded on Xubuntu 16.04 64bits

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 12:42:35
问题 I'm trying to follow the answer given in QSqlDatabase: QMYSQL driver not loaded on Ubuntu 15.04 64bits on Xubuntu 16.04, where: # ls /usr/lib/x86_64-linux-gnu/libmysql* -ls 5624 -rw-r--r-- 1 root root 5757198 Abr 21 10:30 /usr/lib/x86_64-linux-gnu/libmysqlclient.a 0 lrwxrwxrwx 1 root root 20 Abr 21 10:29 /usr/lib/x86_64-linux-gnu/libmysqlclient.so -> libmysqlclient.so.20 0 lrwxrwxrwx 1 root root 24 Abr 21 10:29 /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20 -> libmysqlclient.so.20.2.1 4140