<?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[WORKING WITH JAVASCRIPT DOCUMENTS]]></title><description><![CDATA[<p dir="auto">Good day, please I need your help on qt c++. Am working on a quiz program, I have designed the interface, but the question bank is a JavaScript document. I don't know if there's a way for me to query it from c++ and get the questions.<br />
Thanks in anticipation</p>
]]></description><link>https://forum.qt.io/topic/99853/working-with-javascript-documents</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 03:25:47 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/99853.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Feb 2019 07:21:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Thu, 28 Feb 2019 07:06:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> alright thanks a lot for your assistance</p>
]]></description><link>https://forum.qt.io/post/514536</link><guid isPermaLink="true">https://forum.qt.io/post/514536</guid><dc:creator><![CDATA[gblessed]]></dc:creator><pubDate>Thu, 28 Feb 2019 07:06:44 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Thu, 28 Feb 2019 05:13:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gblessed">@<bdi>gblessed</bdi></a> Yes, you read the content of the file into a QString variable and then use regular expressions to extract the information you need.</p>
]]></description><link>https://forum.qt.io/post/514515</link><guid isPermaLink="true">https://forum.qt.io/post/514515</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Thu, 28 Feb 2019 05:13:35 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Wed, 27 Feb 2019 23:31:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/mrjj">@<bdi>mrjj</bdi></a><br />
do you suggest I use QFile to open the document and then pass it to a QTextStream before executing pearl commands on the text?</p>
]]></description><link>https://forum.qt.io/post/514501</link><guid isPermaLink="true">https://forum.qt.io/post/514501</guid><dc:creator><![CDATA[gblessed]]></dc:creator><pubDate>Wed, 27 Feb 2019 23:31:02 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Wed, 27 Feb 2019 10:09:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gblessed">@<bdi>gblessed</bdi></a> Then you will need to parse that manually using Regular Expressions (<a href="https://doc.qt.io/qt-5/qregularexpression.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/qregularexpression.html</a>)</p>
]]></description><link>https://forum.qt.io/post/514310</link><guid isPermaLink="true">https://forum.qt.io/post/514310</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 27 Feb 2019 10:09:00 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Wed, 27 Feb 2019 10:03:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jsulm">@<bdi>jsulm</bdi></a> hi, if you open it with notepad you will notice that there are some multiple choice questions , so I want to query the questions and answers randomly to form a quiz program</p>
]]></description><link>https://forum.qt.io/post/514308</link><guid isPermaLink="true">https://forum.qt.io/post/514308</guid><dc:creator><![CDATA[gblessed]]></dc:creator><pubDate>Wed, 27 Feb 2019 10:03:46 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Wed, 27 Feb 2019 09:58:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gblessed">@<bdi>gblessed</bdi></a> It's JavaScript script, so neither JSON nor XML.<br />
What exactly do you want to do with it?</p>
]]></description><link>https://forum.qt.io/post/514303</link><guid isPermaLink="true">https://forum.qt.io/post/514303</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 27 Feb 2019 09:58:26 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Wed, 27 Feb 2019 09:52:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/mrjj">@<bdi>mrjj</bdi></a> hi, am still confused on what it actually is, here is the file<br />
h ttps://www.datafilehost.com/d/ddbe4531</p>
<p dir="auto">I don't know how to work with it</p>
]]></description><link>https://forum.qt.io/post/514298</link><guid isPermaLink="true">https://forum.qt.io/post/514298</guid><dc:creator><![CDATA[gblessed]]></dc:creator><pubDate>Wed, 27 Feb 2019 09:52:22 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Tue, 19 Feb 2019 15:55:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
So was it json or XML doc ?</p>
]]></description><link>https://forum.qt.io/post/512539</link><guid isPermaLink="true">https://forum.qt.io/post/512539</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Tue, 19 Feb 2019 15:55:40 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Tue, 19 Feb 2019 13:38:37 GMT]]></title><description><![CDATA[<p dir="auto">Thanks alot,both replies were helpful</p>
]]></description><link>https://forum.qt.io/post/512516</link><guid isPermaLink="true">https://forum.qt.io/post/512516</guid><dc:creator><![CDATA[gblessed]]></dc:creator><pubDate>Tue, 19 Feb 2019 13:38:37 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Tue, 19 Feb 2019 08:20:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gblessed">@<bdi>gblessed</bdi></a><br />
Or an XML ?<br />
Examples : <a href="https://doc.qt.io/qt-5/examples-xml.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/examples-xml.html</a></p>
]]></description><link>https://forum.qt.io/post/512402</link><guid isPermaLink="true">https://forum.qt.io/post/512402</guid><dc:creator><![CDATA[Ratzz]]></dc:creator><pubDate>Tue, 19 Feb 2019 08:20:27 GMT</pubDate></item><item><title><![CDATA[Reply to WORKING WITH JAVASCRIPT DOCUMENTS on Tue, 19 Feb 2019 08:15:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/gblessed">@<bdi>gblessed</bdi></a> Do you mean JSON? If so take a look at <a href="https://doc.qt.io/qt-5/json.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://doc.qt.io/qt-5/json.html</a></p>
]]></description><link>https://forum.qt.io/post/512399</link><guid isPermaLink="true">https://forum.qt.io/post/512399</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Tue, 19 Feb 2019 08:15:01 GMT</pubDate></item></channel></rss>