Patrik,
If I am understanding correctly your original post
So it looks that QMySqliDatabase class is not loaded via Autoload() but in some other way.
the database loaders are called in 'InitializeDatabaseConnections()' that are a part of the prepend.inc.php;
////////////////////////////////////////////////
// Initialize the Application and DB Connections
////////////////////////////////////////////////
QApplication::Initialize();
QApplication::InitializeDatabaseConnections();
you will see for yourself;
$strDatabaseType = 'Q' . $objConfigArray['adapter'] . 'Database';
if (!class_exists($strDatabaseType)) {
$strDatabaseAdapter = sprintf('%s/database/%s.class.php', __QCODO_CORE__, $strDatabaseType);
if (!file_exists($strDatabaseAdapter)) {
throw new Exception('Database Type is not valid: ' . $objConfigArray['adapter']);
require($strDatabaseAdapter);
}
I myself moved the function from ApplicationBase.class.php into prepend.inc.php so I could overwrite the default Q<databasetype>Server.class.php loading.
of course I am on 0.3.32 and so I hope the particulars of the upgrade are basically the same.
hopefully this helps!
ken;