Noop, I've done nothing, just code for testing. So they are all in the same
function:
const char* html = d->visualView->toFormattedHtml().toUtf8().constData();
TidyBuffer output;
TidyDoc tdoc = tidyCreate();
tidyBufInit(&output);Bool ok = tidyOptSetBool(tdoc, TidyXmlOut, yes);
int rc = -1;
//
Le 26/12/2012 21:28, Thiago Macieira a écrit :
> On quarta-feira, 26 de dezembro de 2012 14.58.03, K. Frank wrote:
>> As I understand it, it is not practical to move a Qt installation away
>> from where it is built.
>> [...]
>> But, as I understand it, this battle has been fought already in the pas
Hi Cheng,
You didn't show how the html variable was used? Are you sure that the html
pointer is valid? I suggest:
QByteArray ba = webView->page()->mainFrame()->toHtml().toUtf8();
const char *html = ba.constData();
...
In your original code, the temporary string and byte array we
Hi, there! I want to add tidy as library into Qt program where I use some code
as following:
const char* html = webView->page()->mainFrame()->toHtml().toUtf8().constData();
// ...
TidyBuffer output;
Bool ok = tidyOptSetBool(tdoc, TidyXmlOut, yes);
tidySetCharEncoding(tdoc, "utf8");
tidySaveBuffer
On Wed, Dec 26, 2012 at 5:59 PM, VStevenP wrote:
> I'm trying to locate some doc or get some good tips on "packaging" subsets of
> QML for easy import in big projects.
>
> I saw the syntax of one kind of import used in KDE, from Aaron Seigo's talk
> at Qt Dev Days.
>
> import "plasmapackage:/cod
I'm trying to locate some doc or get some good tips on "packaging" subsets of
QML for easy import in big projects.
I saw the syntax of one kind of import used in KDE, from Aaron Seigo's talk at
Qt Dev Days.
import "plasmapackage:/code/Foo.js" as Foo
Can any of the KDE developers on the list de
On quarta-feira, 26 de dezembro de 2012 14.58.03, K. Frank wrote:
> First note, my experience is with older versions, not Qt 5.
>
> As I understand it, it is not practical to move a Qt installation away
> from where it is built.
>
> (There is supposedly some tool that you can use to rewrite the
>
Hi Yves!
On Wed, Dec 26, 2012 at 11:15 AM, Yves Bailly wrote:
> Le 26/12/2012 17:05, Bob Hood a écrit :
>> On 12/26/2012 8:14 AM, Yves Bailly wrote:
>>> Is there a way to tell qmake to use something else than those hard-coded
>>> paths?
>>
>> http://doc.qt.digia.com/qt/qt-conf.html
>
> Has alrea
Le 26/12/2012 17:05, Bob Hood a écrit :
> On 12/26/2012 8:14 AM, Yves Bailly wrote:
>> Is there a way to tell qmake to use something else than those hard-coded
>> paths?
>>
>
> http://doc.qt.digia.com/qt/qt-conf.html
Has already stated, this doesn't work - as if "qmake" was not reading at all
th
Hi Kohne,
- Original Message -
> From: Koehne Kai
> Sent: Saturday, December 22, 2012 2:58 PM
> Subject: RE: [Interest] setMainQmlFile technique to avoid the need to copy
> QML files
>> Basically, I prefix the relative path to the main QML file with the name of
> the my app root di
On 12/26/2012 8:14 AM, Yves Bailly wrote:
> Is there a way to tell qmake to use something else than those hard-coded
> paths?
>
http://doc.qt.digia.com/qt/qt-conf.html
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman
On 26/12/12 17:02, Thiago Macieira wrote:
> On quarta-feira, 26 de dezembro de 2012 16.42.44, Nikos Chantziaras wrote:
>>> Why do you need the codec name anyway?
>>
>> So that I can tell another library what encoding to use for filenames
>> when it wants to create files.
>
> Can't you tell it to us
Greetings all,
(cross-posting to both "devel" and "interest" as I think this may be relevent
to both)
I've build a 32bits Qt5 from the big ZIP archive using Visual C++ 2010 on a
Win7 64bits host.
Let's say the Qt5 sources where in D:\srcs\qt5-win32 - that's where I build the
binaries.
Everyt
On quarta-feira, 26 de dezembro de 2012 16.42.44, Nikos Chantziaras wrote:
> > Why do you need the codec name anyway?
>
> So that I can tell another library what encoding to use for filenames
> when it wants to create files.
Can't you tell it to use the default?
By the way, on Windows you shoul
On 26/12/12 16:27, Thiago Macieira wrote:
> On quarta-feira, 26 de dezembro de 2012 16.23.30, Nikos Chantziaras wrote:
>> [...]
>> Though the API *is* there. It's QTextCodec::name() and
>> QTextCodec::aliases(). IMO it's a mistake by Qt to return "System"
>> there, since "System" has exactly zero
On quarta-feira, 26 de dezembro de 2012 16.23.30, Nikos Chantziaras wrote:
> On 26/12/12 16:16, Thiago Macieira wrote:
> > On quarta-feira, 26 de dezembro de 2012 15.54.25, Nikos Chantziaras wrote:
> >> I need the actual name of the character set from which
> >>
> >> QFile::decodeName() is convert
On 26/12/12 16:16, Thiago Macieira wrote:
> On quarta-feira, 26 de dezembro de 2012 15.54.25, Nikos Chantziaras wrote:
>> I need the actual name of the character set from which
>> QFile::decodeName() is converting. [...] Unfortunately, this:
>>
>> QTextCodec::codecForLocale()->name()
>>
>> ret
On quarta-feira, 26 de dezembro de 2012 15.54.25, Nikos Chantziaras wrote:
> I need the actual name of the character set from which
> QFile::decodeName() is converting. The docs say that it's the "local
> 8-bit encoding."
Yes, it's the codec that QString::to/fromLocal8Bit works on.
> I'm not sur
I need the actual name of the character set from which
QFile::decodeName() is converting. The docs say that it's the "local
8-bit encoding."
I'm not sure what that means, but I suppose it's the codec returned by
QTextCodec::codecForLocale(). Unfortunately, this:
QTextCodec::codecForLocale
26.12.2012, в 16:50, Bache-Wiig Jens написал(а):
> Yes I was just playing around in Designer. The first one is easy, that is
> just the standardPalette() which is built into fusionstyle.
That's pity:(
>
> You should be able to re-create the others two by just picking out the
> background,
Hello all,
Two versions of WebKit are provided with Qt5, WebKit 1 and WebKit 2.
Wehn building Qt5 from the ZIP archive, it seems by default it's the WebKit 1
which is build.
Is there a way to build WebKit 2 instead? I can't find any related option
in "configure.exe --help" nor anywhere...
Rega
Yes I was just playing around in Designer. The first one is easy, that is just
the standardPalette() which is built into fusionstyle.
You should be able to re-create the others two by just picking out the
background, base and highlight and base colours from the screenshot. All the
other colour
Thank you very much, but i meant code used to create palettes shown . Or were
they just temporary palettes in Designer?
Иван Комиссаров
26.12.2012, в 15:17, Bache-Wiig Jens написал(а):
> There is no such example. It was just a small dialog I mocked up in Qt
> Designer.
> I attached it to thi
On Dec 25, 2012, at 1:57 PM, Иван Комиссаров wrote:
> Sorry for offtop, but does anybody have sources for an example that was used
> to create this http://i.imgur.com/kn67x.pngimage? I want to have some
> pallettes to experiment with Fusion look and feel.
> It this example somewhere in Qt5 sour
24 matches
Mail list logo