[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4697: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4699: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4700: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4701: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
indielib.com • View topic - QT + IndieLib = LOVE :)

indielib.com

IndieLib Forum
It is currently Sun Sep 20, 2020 8:22 am

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: QT + IndieLib = LOVE :)
PostPosted: Mon Feb 02, 2009 8:57 am 
Offline
User avatar

Joined: Mon Aug 11, 2008 8:56 pm
Posts: 62
Location: Kyiv, Ukraine
Made working example of mixing IndieLib with native OS GUI.
It is possible thanks to existing SDL's hack which allows to say to SDL to use existing window handle for video initialization.
Also I had to build IndieLib with the window centering feature turned off (I just commented code line with SetWindowPos. Can we make something out to provide the control to window centering from the outside of IND_Window class, Javier?)

Here is a demo app: (code requires a compiled QT lib to be built)



Screenshot


I have some small troubles with input focus distribution, but I think this can be solved.
I will try to make an util to help compile animations and collisions xml files to fully test the possibilities of mixing very rich QT controls library with IndieLib.

[UPD] Qt debug dlls included into archive.
[UPD] Fixed bug in SDL_1.2 for WINDOW_ID hack, all modules are free from external visual studio 2008 run-time libraries. QT is used only in Debug mode to test the process of enabling editing controls in development version and auto removing them in release version.


Last edited by Nomad on Tue Feb 17, 2009 2:32 pm, edited 2 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 02, 2009 10:11 am 
Offline
Site Admin
User avatar

Joined: Wed Dec 26, 2007 1:38 am
Posts: 626
Location: Murcia, Spain
This looks aweasome!

Please! Can you add qt lib dll? Just to try it directly.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 02, 2009 1:32 pm 
Offline
User avatar

Joined: Mon Aug 11, 2008 8:56 pm
Posts: 62
Location: Kyiv, Ukraine
Sorry.
I just have thought that QT was linked statically. Updated archive now (the drawback is the size jumps from 3 to 7 MB :( )

Also I just can't for now launch exe file on Windows XP 32bit systems, and I do not know why. I've got some very strange access violation. Maybe that's because I compiled QT from sources on Vista-like OS.
If you have Vista like system and can't run too tell me please, because on all systems with Vista and Server 2008 I tried I have installed QT, because they are my dev platforms.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 17, 2009 2:45 pm 
Offline
User avatar

Joined: Mon Aug 11, 2008 8:56 pm
Posts: 62
Location: Kyiv, Ukraine


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 17, 2009 3:58 pm 
Offline
Site Admin
User avatar

Joined: Wed Dec 26, 2007 1:38 am
Posts: 626
Location: Murcia, Spain


Top
 Profile  
 
PostPosted: Sat May 18, 2013 1:59 pm 
Offline

Joined: Sat Mar 16, 2013 7:11 pm
Posts: 36


Top
 Profile  
 
PostPosted: Mon May 20, 2013 7:41 pm 
Offline
Site Admin

Joined: Thu Jul 16, 2009 1:52 pm
Posts: 250
Location: London, UK
Hi,

i think you are in the right track. We changed to SDL 2.0 in crossplatform version. Most probably the hack does not work with newer SDL code.


Top
 Profile  
 
PostPosted: Fri Jun 14, 2013 3:39 pm 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ


Top
 Profile  
 
PostPosted: Thu Jul 04, 2013 7:03 am 
Offline

Joined: Sat Mar 16, 2013 7:11 pm
Posts: 36


Top
 Profile  
 
PostPosted: Thu Jul 04, 2013 5:07 pm 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark
Just noticed the "support desktop windows" bullit under wishlist in this page: it seems that support for it eventually will be implemented :mrgreen:

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group