[Interest] Qt5 QML WebView - Text Selection

2013-05-19 Thread paulovictor.pinhe...@gmail.com
Hello,

I was using qml Webview on qt 5.1 when i notice that is not possible to do
text selection, the webview just keeps flicking, no matter for how long i
click.  How can i disable flick and get my text selection back? Am i doing
something wrong? (my webview's parent is a simple item).

Sincerely,

Paulo Pinheiro
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] QTextEdit::toHtml() crash when a image is inserted

2012-02-07 Thread paulovictor.pinhe...@gmail.com
Hello there,

I'm having a problem with QTextEdit/QTextDocument when i'm trying to export
the document to html via QTextEdit::toHtml() . The problem lies when we
insert an image using QTextDocument::addResource() and, although QTextEdit
shows it fine, it crashes when we call QTextEdit::toHtml() function. Any
words of advice? Some snippet above:

...
QImage img(img1Path);

QUrl uri = QUrl::fromLocalFile(img1Path);

m_doc->addResource(QTextDocument::ImageResource, uri, QVariant(img));

QTextImageFormat imageFormat;
imageFormat.setWidth(300);
imageFormat.setHeight(300);
imageFormat.setName(uri.toString());

cursor.insertImage(imageFormat);
...

// when it crashes
QString html = m_doc->toHtml();

It works fine when a image is not inserted.

Att,

Paulo Pinheiro
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] WebEngine vs Webkit

2015-03-24 Thread paulovictor.pinhe...@gmail.com
There is something coming up, but not landing in 5.5:

https://codereview.qt-project.org/#/c/104669/
https://codereview.qt-project.org/#/c/108278/

On Mon, Mar 23, 2015 at 10:15 PM, Jason Kretzer  wrote:
> I had not tried it yet.  Will have to try it and see what happens.
>
>
>
> Slightly different question:  Can the QtWebEngine make use of the
> FlashPlayer plugin (Pepper or otherwise)?
>
>
>
> From: Ian Monroe [mailto:i...@monroe.nu]
> Sent: Monday, March 23, 2015 1:53 PM
> To: Jason Kretzer; interest@qt-project.org
> Cc: yogeshpa...@cdnsol.com
> Subject: Re: [Interest] WebEngine vs Webkit
>
>
>
> The sample qtwebengine browser works for you?
>
>
>
> On Mon, Mar 23, 2015, 06:15 Jason Kretzer  wrote:
>
> Good day everyone!
>
> I am looking at converting an application that uses webkit to using the
> new webengine stuff.  I have run into a few things that I was not
> expecting, including issues with working with setZoomFactor not acting in
> the exact same way, but I was able to work through that.  I was wondering
> if anyone else was running into any ³gotchas² in doing the same thing?  I
> mean, I have html that I am rendering in webkit just fine, but when I run
> it with the WebEngine, I get errors like:
>
> [0319/180657:ERROR:texture_manager.cc(1561)]
> [.RenderCompositor-0119FCC0]GL ERROR :GL_OUT_OF_MEMORY : glTexImage2D: <-
> error from previous GL command
>
> I mean it is the exact same code except for some of the webengine specific
> stuff.
>
> QWebEngineSettings *defaultsetting =
> QWebEngineSettings::globalSettings();
>
> defaultsetting->setAttribute(QWebEngineSettings::ScrollAnimatorEnabled,fals
> e);
> mWidget = new QWebEngineView(this);
> mWidget->setGeometry(0, 0, width(), height());
> mWidget->load(url);
> mWidget->show();
>
> In this code, the url is just html being returned by a local web server ‹
> http://localhost/someHtml/index.html.
>
> Thoughts?
>
> //--//
>Jason R. Kretzer
>Lead Application Developer
>ja...@gocodigo.com
> //-//
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
> 
>
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 2015.0.5751 / Virus Database: 4306/9321 - Release Date: 03/17/15
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Indie Mobil Program terminated?

2015-07-03 Thread paulovictor.pinhe...@gmail.com
On Fri, Jul 3, 2015 at 2:28 PM, maitai  wrote:
> Hello all,
>
> We are on the same situation as many here as I see. We are about to submit
> our first app to apple store, in a couple of weeks or so... What are we
> supposed to do now?

+1 here
>
> I sincerely hope that the indie license will be restored. At least give us a
> last month so we get a chance to subscribe before it's cut. We are working
> ont this project for free on our spare time for the time being, and there's
> no way we can invest 350$ per month until we know if we are successful or
> not...
>
> Philippe Lelong.
>
>
>
>
>
>
>
> Le 03-07-2015 17:22, Jason H a écrit :
>
> We have a commerical license for Charts on the server side of things. I'll
> probably switch this out to use Chart.js.
>
> We use professional support quite often. This is normally a result of an
> issue with Qt and in most cases a parity issue between mobile platforms. I
> think we should be done using support with 5.5 as our required features are
> finally working on Andriod and iOS.
>
> I don't use any commercial features on our mobile platforms, aside from
> being able to be on the right side of things in the App stores. The
> QtQuickCompiler, which I attempted to use was crashing on Android 5.0 with
> Qt5.4, and I never saw much advantage to it, so I disabled it.
>
> Again, I'd like to reiterate I think it is premature to kill the Indie
> mobile license when the mobile platforms  have __FINALLY__ reached parity.
> And have just added real valuable mobile features like:
> -- BT4.0
> -- Location services
>
>
>
> Sent: Friday, July 03, 2015 at 11:01 AM
> From: Preet 
> To: "interest@qt-project.org" 
> Subject: Re: [Interest] Indie Mobil Program terminated?
>>
>> Why Apple and Google give their dev tools free ? They don't make money
>> from long tail either but they
>> know that getting successful apps you need to have this long tail also.
>
>
> To be fair this is because they don't make money from the tools, they get
> money by taking a cut of your sales (so called 'democratization'). These
> probably aren't valid avenues for Qt. I think its difficult to come up with
> a business model to sell software that's good enough to sustain your
> company, especially when your code base is mostly open source under a libre
> license.
> As a side note, I'm kind of curious as to how many people buy a commerical
> license of Qt just to deploy it on platforms where LGPL isn't allowed vs
> people that are just after commercial-only features and support.
> ___ Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


[Interest] Embedding Qt on Existing Android App

2018-03-12 Thread paulovictor.pinhe...@gmail.com
Is it possible to Render Qt within an Android View or Fragment? I failed to
find any documentation on that aspect.

The Idea is to have an  Android View or Fragment that I can insert an
existing Activity and display a QML file. It's just for a prototype, not
production code, so it is fine if the only way is hackish.
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] QtLabs PDF on ios and android

2018-06-04 Thread paulovictor.pinhe...@gmail.com
Never tried QtLabs PDF, but I wrote a Pdfium wrapper a while ago that might
work for you as a plan B.

https://github.com/paulovap/qtpdfium

Cheers,

On Mon, Jun 4, 2018 at 1:15 PM, Sylvain Pointeau  wrote:

> Hello,
>
> do you know if the QtLabs PDF is working on ios / android? and did you
> already use it?
>
> Best regards,
> Sylvain
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest