Qt API

Write your ideas what you would like to have in Basic For Qt.

Qt API

Postby Henning » Mon Dec 10, 2012 11:48 am

Hi,

Why can't we Declare Subs/Functions from the Qt built-in Functions?

Public Declare Function "QSysInfo" windowsVersion();
Complains that there is no QSysInfo.h, shouldn't be necessary for a built-in Function.

From QtCore4.dll
Exported:
?windowsVersion@QSysInfo@@SA?AW4WinVersion@1@XZ (Ordinal: 5 446, Entry Point RVA: 19460h (103 520))

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm

Re: Qt API

Postby berndnoetscher » Mon Dec 10, 2012 9:29 pm

Henning wrote:Hi,

Why can't we Declare Subs/Functions from the Qt built-in Functions?

Public Declare Function "QSysInfo" windowsVersion();
Complains that there is no QSysInfo.h, shouldn't be necessary for a built-in Function.

From QtCore4.dll
Exported:
?windowsVersion@QSysInfo@@SA?AW4WinVersion@1@XZ (Ordinal: 5 446, Entry Point RVA: 19460h (103 520))

/Henning


It depends. Some functions are declared as static non-object related functions, which cannot be used by now by a declare statement. Sorry
berndnoetscher
Site Admin
 
Posts: 344
Joined: Thu Mar 25, 2010 9:57 am

Re: Qt API

Postby blatman » Tue Dec 11, 2012 4:38 pm

mmmmm - does this answer mean that there is no way of accessing the QSysInfo and QWebSettings features via Q7B ? - if so then QWebView is a bit useless without being able to tweak the settings. :(

Cheers
Blane
blatman
 
Posts: 49
Joined: Mon Jul 16, 2012 12:33 pm
Location: UK

Re: Qt API

Postby Henning » Tue Dec 11, 2012 6:41 pm

Since I read like the devil reads the bible, I see a
cannot be used by now
. :)

Hope this means it is up on the ToDoList... :roll:

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm

Re: Qt API

Postby blatman » Wed Dec 12, 2012 11:21 pm

indeed - the ToDo list - yes - I get sad when I see good stuff possible in Qt but not enabled via Q7B :(

blatman
blatman
 
Posts: 49
Joined: Mon Jul 16, 2012 12:33 pm
Location: UK


Return to Wish List

Who is online

Users browsing this forum: No registered users and 1 guest

cron