Hello!
If you want to have a go on the code, then try it and we can have a
look at it. You can use
gitorious for this purpose, and maybe issue a merge request.
Regards,
Helge Fredriksen
Tarandeep Singh wrote:
2010/4/15 José Arcángel Salazar Delgado <[email protected]>
> Hi,
>
> I could not find an equivalent method for QApplication( int argc,
char*
> argv[], bool guiEnabled) in QT-Jambi.
>
> Here is the link for the method from QT-4.5 docs-
> http://qt.nokia.com/doc/4.5/qapplication.html#QApplication-2
>
> I want the similar functionality in Jambi and ready to work on it
(if it is
> not that huge work).
what is the functionality that you want?
If you want to use Qt jambi in a console app you can use
QCoreApplication.
Let me explain what I am trying to do- I am trying to build a simple
application that will return DOM of a page after running _javascript_s,
CSS etc; but it should not need running X server. To get DOM of the
page, I can use QWebPage class to load the page and get its DOM. But if
I use QCoreApplication, then a lot of classes won't initialize e.g.
WebPage won't initialize.
I used QT version as used by this project-
http://code.google.com/p/wkhtmltopdf/
This QT is modified such that one can create QApplication (hence can
get all the classes), but if "guiEnabled" is set to false, it won't try
to connect to X server.
I compiled Jambi against this QT. My thought was the same functionality
can be obtained through java bindings exposed by jambi. But as I have
mentioned above, I could not get the constructor which accepts boolean
variable.
-Tarandeep
>
> Thanks,
> Tarandeep
>
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
|
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest