<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt Web assembly support for SQLite database - only :memory: DB]]></title><description><![CDATA[<p dir="auto">I am using qt-everywhere-src-5.11.0-webassembly-tp to compile web application and run on <strong>nginx</strong> web server, in my application I create <strong>SQLite</strong> database, when I compile the app for desktop it works normal and database  file is created. When project is compiled for Qt web assembly, the applications works normally  ... can create new tables, and insert records .. but nothing is saved anywhere.<br />
I tried to configure <strong>Nginx</strong> web server locations to access local <strong>SQLite</strong> DB file   but it never works .. this seems Qt web assembly supports only memory SQLite databse .. is there away to access databse file from local file system?</p>
]]></description><link>https://forum.qt.io/topic/94418/qt-web-assembly-support-for-sqlite-database-only-memory-db</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 22:42:57 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/94418.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Sep 2018 00:43:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt Web assembly support for SQLite database - only :memory: DB on Sat, 08 Sep 2018 04:48:27 GMT]]></title><description><![CDATA[<p dir="auto">WebAssembly doesn't have access to a normal filesystem, so Qt for WebAssembly projects won't be able to write files.  You would have to implement database access by doing something like having a separate REST API that your application can use for persistent data.</p>
<p dir="auto"><a href="https://stackoverflow.com/questions/45535301/can-i-read-files-from-the-disk-by-using-webassembly" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/45535301/can-i-read-files-from-the-disk-by-using-webassembly</a></p>
]]></description><link>https://forum.qt.io/post/480350</link><guid isPermaLink="true">https://forum.qt.io/post/480350</guid><dc:creator><![CDATA[wrosecrans]]></dc:creator><pubDate>Sat, 08 Sep 2018 04:48:27 GMT</pubDate></item></channel></rss>