Italian community of Lazarus and Free Pascal
Programmazione => Componenti Aggiuntivi => Topic aperto da: lorenzofesta - Maggio 12, 2014, 09:54:40 pm
-
Salve , sto giocherellando con geckoport , vorrei provare ad usare le versioni successive alla 1.9 di xulrunner ma sembra che si debba usare uno switch -dXULRUNNER2 da qualche parte , il problema e' che non trovo dove :)
qualche suggerimento ?
-
ciao
dove hai trovato queste indicazioni?
-
XULRunner has been tested with 1.9.2.5 since calling mode in fpc 2.5.1 has been fixed and it works. XULRunner has been tested with 2.0.0.8pre and works but as there are some incompatibilities with 1.x.x.x branch in XULRunner the source code must be compiled using "-dXULRUNNER2".
Fonte http://wiki.lazarus.freepascal.org/GeckoPort
Praticamente devi ricompilare il componente, utilizzando la direttiva dXULRUNNER2
-
E fin qui c'ero ... solo che ... quando compilo il pacchetto ( da dentro l'ìde ) non trovo dove metterla questa direttiva ...
-
Dovrebbe essere in:
Progetto->Opzioni per il progetto->varie->defines...
e da lì inserisci XULRUNNER2, quindi lo attivi.
Però mi chiedevo perché non usare la versione 2:
http://wiki.lazarus.freepascal.org/GeckoPort_version2 (http://wiki.lazarus.freepascal.org/GeckoPort_version2)
-
ho trovato questo in giro
probabilmente i lavori sono arenati
Well, there is a GeckoPort version 2. But nobody could ever use it! It has errors in it or it is broken. So we will go after version 1. There is not that much of a difference as far as I know.
tratto da:
http://lazplanet.blogspot.it/2013/10/browser-in-lazarus-with-gecko-pt1.html (http://lazplanet.blogspot.it/2013/10/browser-in-lazarus-with-gecko-pt1.html)
-
:) il posto per lo switch e' giusto GRAZIEEE :) ... ora funziona lo xul runner 2.0 , il 3 no il 5 si da li in poi niente da fare ... ma e' sempre molto meglio :)