viewdy / phantomjs2

Automatically exported from code.google.com/p/phantomjs
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Error building phantomjs with QT 4.6 #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Error trying to build phantomjs on changeset 6bb2f1b4a12e81dfb23b

What is the expected output? What do you see instead?
The expected output is build phantomjs binary. Instead I'm getting the 
following error:

phantomjs.cpp: In constructor ‘Phantom::Phantom(QObject*)’:
phantomjs.cpp:170: error: ‘FrameFlatteningEnabled’ is not a member of 
‘QWebSettings’
make[1]: *** [phantomjs.o] Error

What version of the product are you using? On what operating system?
I'm using rev 4de99130c52b9ca6bff39b8f6e345ea4e949acc2 on Ubuntu Server 10.04 
(lucid)

Please provide any additional information below.
The version libqt4-webkit is supposed to be 4.6.2
http://packages.ubuntu.com/lucid/libqt4-webkit

It seems that FrameFlatteningEnabled is only part of QT 4.7 ?
http://doc.qt.nokia.com/4.6/qwebsettings.html

Regards,

Iván

Original issue reported on code.google.com by ipe%open...@gtempaccount.com on 28 Jan 2011 at 4:05

GoogleCodeExporter commented 9 years ago
Commenting line 170 [1] results on a successful build.

[1] https://github.com/ariya/phantomjs/blob/master/src/phantomjs.cpp#L170

Regards,

Original comment by ipe%open...@gtempaccount.com on 28 Jan 2011 at 4:12

GoogleCodeExporter commented 9 years ago
Fixed in https://github.com/ariya/phantomjs/commit/9eb2dfb5.

Original comment by ariya.hi...@gmail.com on 30 Jan 2011 at 3:18

GoogleCodeExporter commented 9 years ago

Original comment by ariya.hi...@gmail.com on 18 Feb 2011 at 6:57

GoogleCodeExporter commented 9 years ago
This issue has been moved to GitHub: 
https://github.com/ariya/phantomjs/issues/10030

Original comment by james.m....@gmail.com on 16 Mar 2013 at 12:17