<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Nokia Developer Community - Discussions - Qt</title>
		<link>http://www.developer.nokia.com/Community/Discussion/</link>
		<description>Ask about Qt, Qt for Symbian, Qt Quick, Maps API for Qt, and Qt for cross platform development</description>
		<language>en</language>
		<lastBuildDate>Sat, 25 May 2013 01:54:51 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.developer.nokia.com/Community/Discussion/images/misc/rss.png</url>
			<title>Nokia Developer Community - Discussions - Qt</title>
			<link>http://www.developer.nokia.com/Community/Discussion/</link>
		</image>
		<item>
			<title>Qt translation issue</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240347-Qt-translation-issue&amp;goto=newpost</link>
			<pubDate>Tue, 14 May 2013 07:15:24 GMT</pubDate>
			<description>Hello, 
 
In my Qt app there are lots of strings that needs to be translated. I have generated ts files for diff languages and my app works fine for globalization. 
 
My issue: 
Strings are scattered in my code.. so I want to dump all the strings in a single file(may be .h file), then use that in...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
In my Qt app there are lots of strings that needs to be translated. I have generated ts files for diff languages and my app works fine for globalization.<br />
<br />
My issue:<br />
Strings are scattered in my code.. so I want to dump all the strings in a single file(may be .h file), then use that in my cpp.<br />
<br />
-thanks.</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>madhavnarain</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240347-Qt-translation-issue</guid>
		</item>
		<item>
			<title>How to detect silence in QAudioInput?</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240267-How-to-detect-silence-in-QAudioInput&amp;goto=newpost</link>
			<pubDate>Thu, 09 May 2013 07:36:45 GMT</pubDate>
			<description>I have idea to use google voice recognize api. And can do it with hand controlled start/stop record procedure. But I think best idea is detect silence to automatically start/stop record. 
 
I know how to record audio. I know how to detect volume level in audio input. (SDK has such examples). But...</description>
			<content:encoded><![CDATA[<div>I have idea to use google voice recognize api. And can do it with hand controlled start/stop record procedure. But I think best idea is detect silence to automatically start/stop record.<br />
<br />
I know how to record audio. I know how to detect volume level in audio input. (SDK has such examples). But question is - is it possible get raw data from audio source (microphone) and record audio file in parallel mode?<br />
<br />
Thanks for any help.</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>vinnitu2</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240267-How-to-detect-silence-in-QAudioInput</guid>
		</item>
		<item>
			<title><![CDATA[How to use so-called "voice key" in own application?]]></title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240265-How-to-use-so-called-quot-voice-key-quot-in-own-application&amp;goto=newpost</link>
			<pubDate>Thu, 09 May 2013 07:35:12 GMT</pubDate>
			<description><![CDATA[I found examples with KeyVolumeUp\Down and CameraKey but no with "Voice Commands" Key. 
 
I wanna use this key to voice record while press and hold... 
 
Any ideas?]]></description>
			<content:encoded><![CDATA[<div>I found examples with KeyVolumeUp\Down and CameraKey but no with &quot;Voice Commands&quot; Key.<br />
<br />
I wanna use this key to voice record while press and hold...<br />
<br />
Any ideas?</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>vinnitu2</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240265-How-to-use-so-called-quot-voice-key-quot-in-own-application</guid>
		</item>
		<item>
			<title>Enabling t9 support in qwebview</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240210-Enabling-t9-support-in-qwebview&amp;goto=newpost</link>
			<pubDate>Sat, 04 May 2013 13:15:06 GMT</pubDate>
			<description>Hello, I’m testing qtwebkit on symbian and I am really frustrated about that predictive text isn’t supported by default. How can I resolve this problem, thank you very much.</description>
			<content:encoded><![CDATA[<div>Hello, I’m testing qtwebkit on symbian and I am really frustrated about that predictive text isn’t supported by default. How can I resolve this problem, thank you very much.</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>daljit97</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240210-Enabling-t9-support-in-qwebview</guid>
		</item>
		<item>
			<title><![CDATA[module "com.nokia.symbian" is not installed]]></title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240205-module-quot-com-nokia-symbian-quot-is-not-installed&amp;goto=newpost</link>
			<pubDate>Sat, 04 May 2013 06:03:20 GMT</pubDate>
			<description><![CDATA[Ok guys I am Lab Rat:p 
 
I am trying to develop an Matrimony manager for N8 based on Qt Quick. 
 
Its running fine in Symbian Simulator and my Dad's N8 but 
the Problem is when try to run in Qt_4_8_1_for_Desktop 
...]]></description>
			<content:encoded><![CDATA[<div>Ok guys I am Lab Rat:p<br />
<br />
I am trying to develop an Matrimony manager for N8 based on Qt Quick.<br />
<br />
Its running fine in Symbian Simulator and my Dad's N8 but<br />
the Problem is when try to run in Qt_4_8_1_for_Desktop<br />
<br />
file:///C:/QtSDK/QtCreator/bin/WorkSpace/ConnectingAlliance-build-desktop-Qt_4_8_1_for_Desktop_-_MinGW__Qt_SDK__Debug/qml/ConnectingAlliance/main.qml:2:1: module &quot;com.nokia.symbian&quot; is not installed <br />
     import com.nokia.symbian 1.1 <br />
     ^ <br />
<br />
com.nokia.symbian is imported already!:confused:<br />
<br />
So <br />
I built it for Qt_4_7_4_for_Desktop and its running good.<br />
<br />
C:\QtSDK\QtCreator\bin\WorkSpace\ConnectingAlliance-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Release\release\ConnectingAlliance.exe exited with code 0<br />
<br />
So guys can anyone give me a little hand on this?</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>Vivin</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240205-module-quot-com-nokia-symbian-quot-is-not-installed</guid>
		</item>
		<item>
			<title>Problem: NonSatellitePositioningMethods with TOO LARGE updateIntervalls</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240202-Problem-NonSatellitePositioningMethods-with-TOO-LARGE-updateIntervalls&amp;goto=newpost</link>
			<pubDate>Fri, 03 May 2013 15:22:26 GMT</pubDate>
			<description>Hi, 
I would like to use NonSattelitePositioningMethods to provide the alternative geo positioning indoor. I made an simple application just with a usage of NonSattelitePositioningMethods, to test the accuracy and first set updateInterval to 10 sek. BUT the updateInterval while testing is too...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I would like to use NonSattelitePositioningMethods to provide the alternative geo positioning indoor. I made an simple application just with a usage of NonSattelitePositioningMethods, to test the accuracy and first set updateInterval to 10 sek. BUT the updateInterval while testing is too large! I got no timeouts, everything working well but the updatetimes are not wokring as expected!<br />
I use use QT 4.6.3 and QTMobility 1.0.2. Here are some Parts of my code:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">//initial infosource call once in the beginning<br />
void LocationManager::initCell(){<br />
&nbsp; &nbsp;  sourceCell = QGeoPositionInfoSource::createDefaultSource(this);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (sourceCell) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sourceCell-&gt;setPreferredPositioningMethods(QGeoPositionInfoSource::NonSatellitePositioningMethods);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sourceCell-&gt;setUpdateInterval(10000);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; startcell();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
} <br />
//enable cellpositioning when needed<br />
void LocationManager::startcell(){<br />
&nbsp; &nbsp; if(!sourceCell){<br />
&nbsp; &nbsp; &nbsp; &nbsp; initCell();<br />
&nbsp; &nbsp; &nbsp; &nbsp; connect(sourceCell, SIGNAL(positionUpdated(QGeoPositionInfo)), this, SLOT(positionUpdated(QGeoPositionInfo)));<br />
&nbsp; &nbsp; &nbsp; &nbsp; connect(sourceCell, SIGNAL(updateTimeout()), SLOT(onPositionTimeoutCELL()));<br />
&nbsp; &nbsp; &nbsp; &nbsp; sourceCell-&gt;startUpdates();<br />
&nbsp; &nbsp; }else{<br />
&nbsp; &nbsp; &nbsp; &nbsp; connect(sourceCell, SIGNAL(positionUpdated(QGeoPositionInfo)), this, SLOT(positionUpdated(QGeoPositionInfo)));<br />
&nbsp; &nbsp; &nbsp; &nbsp; connect(sourceCell, SIGNAL(updateTimeout()), SLOT(onPositionTimeoutCELL()));<br />
&nbsp; &nbsp; &nbsp; &nbsp; sourceCell-&gt;startUpdates();<br />
&nbsp; &nbsp; }<br />
}<br />
<br />
//disable cell if needed....<br />
void LocationManager::cellOff(){<br />
&nbsp; &nbsp; sourceCell-&gt;stopUpdates();<br />
&nbsp; &nbsp; disconnect(sourceCell, SIGNAL(positionUpdated(QGeoPositionInfo)), this, SLOT(positionUpdated(QGeoPositionInfo)));<br />
&nbsp; &nbsp; disconnect(sourceCell, SIGNAL(updateTimeout()),this, SLOT(onPositionTimeout()));<br />
}<br />
<br />
//timeout<br />
void LocationManager::onPositionTimeoutCELL(){<br />
&nbsp;  <br />
qDebug()&lt;&lt;&quot;cellupdate timeout&quot;;<br />
&nbsp; &nbsp; if(sourceCell){<br />
&nbsp; &nbsp; &nbsp; &nbsp; cellOff();<br />
&nbsp; &nbsp; }<br />
&nbsp; ....<br />
}<br />
//my positionupdate slot:<br />
void LocationManager::positionUpdated(const QGeoPositionInfo &amp;info) {<br />
&nbsp; &nbsp; if (info.isValid())<br />
&nbsp; &nbsp; &nbsp;  {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  QGeoCoordinate geoCoordinate = info.coordinate();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  latGPS = geoCoordinate.latitude();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  longGPS = geoCoordinate.longitude();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  altGPS = geoCoordinate.altitude();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  accGPS = info.attribute(info.HorizontalAccuracy);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  timeGPS = info.timestamp().toLocalTime().toString();<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  qDebug()&lt;&lt;&quot;timeGPS:&quot;+timeGPS;<br />
<br />
&nbsp; &nbsp; &nbsp;  } <br />
}</code><hr />
</div>Here is the output of that time when positionUpdated(const QGeoPositionInfo &amp;info) slot is called (in format:hh:mm:ss). First you see the approx. device time, and as second &quot;timeGPS&quot; from positionUpdated slot :<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">...<br />
QDateTime::currentDateTime():&nbsp; 15:54:49&nbsp; &nbsp;  timeGPS: 13:54:44&nbsp; <br />
QDateTime::currentDateTime():&nbsp; 15:57:49&nbsp; &nbsp;  timeGPS: 13:54:44<br />
QDateTime::currentDateTime():&nbsp; 16:00:49&nbsp; &nbsp;  timeGPS: 14:00:45<br />
QDateTime::currentDateTime():&nbsp; 16:03:49&nbsp; &nbsp;  timeGPS: 14:00:45<br />
QDateTime::currentDateTime():&nbsp; 16:06:49&nbsp; &nbsp;  timeGPS: 14:06:45<br />
QDateTime::currentDateTime():&nbsp; 16:09:49&nbsp; &nbsp;  timeGPS: 14:06:45<br />
.......</code><hr />
</div>SO from this output a can see i have updateintervals every 3 minutes on my device, so every 3 minutes positionUpdated is emited, but the timestamp of infosource shows that in reality coordinates are updated just every 6 minutes, and i would think if the coordinates  are really still same, its not so bad. But its anyway too LONG!<br />
<br />
I just would like to understand where coming this 3 and 6 minutes from? <br />
And Why my setting of setupdateInterval of 10 sek(10000ms) are not working at all? <br />
I just cant find any explanation on my own, so i need help. <br />
<br />
Thank you in advance!</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>Summer_time</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240202-Problem-NonSatellitePositioningMethods-with-TOO-LARGE-updateIntervalls</guid>
		</item>
		<item>
			<title>Change/replace widgets in layout</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240181-Change-replace-widgets-in-layout&amp;goto=newpost</link>
			<pubDate>Wed, 01 May 2013 13:18:22 GMT</pubDate>
			<description><![CDATA[Hello, 
 
it is a basic question but don't know the solution. I'm not an expert in programming so I use a single screen (whole app in one screen). Some of my apps require dialog boxes or privacy messages that contain more text so I have to use e.g. QTextBrowser to display the text. 
 
My problem is...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
it is a basic question but don't know the solution. I'm not an expert in programming so I use a single screen (whole app in one screen). Some of my apps require dialog boxes or privacy messages that contain more text so I have to use e.g. QTextBrowser to display the text.<br />
<br />
My problem is changing the widgets in one layout. If I have a layout that contains a button, a label and a slider and want to display a QTextBrowser, I probably have to remove all other three widgets and add a new one, right? Is this reasonable and does not do any illegal calls/use ? My code works but not reliably (especially when changing the layout back to the original one). I've been googling but cannot get a clear answer how to do that.<br />
I'm using QtSDK, C++, no QML.<br />
<br />
Thank you.</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>strelamcqueen</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240181-Change-replace-widgets-in-layout</guid>
		</item>
		<item>
			<title>Invalid qt version in qtcreator</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240167-Invalid-qt-version-in-qtcreator&amp;goto=newpost</link>
			<pubDate>Tue, 30 Apr 2013 16:04:22 GMT</pubDate>
			<description><![CDATA[Hello, 
I just use qt creator for harmattan few days ago and it is working fine but when i install another qt sdk in a same computer but different users account,the harmattan target is no longer working with error "invalid qt version" as shown below. 
 
I already deleted the computer new user...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
I just use qt creator for harmattan few days ago and it is working fine but when i install another qt sdk in a same computer but different users account,the harmattan target is no longer working with error &quot;invalid qt version&quot; as shown below.<br />
<br />
I already deleted the computer new user account and reinstall the qt sdk (<b>offline installer</b>) in my original users account back and it is still no working.I even already uninstall first then shutdown computer to clear any cache and reinstall with &quot;remove old qt creator setting&quot; checked and yet it is still the same error.It used to work fine but now it no longer work.What should i do.I already uninstall and reinstall at least five times.It used to work fine.<br />
 <br />
<img src="http://img708.imageshack.us/img708/7025/qtcreator.png" border="0" alt="" /></div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>babylongreece</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240167-Invalid-qt-version-in-qtcreator</guid>
		</item>
		<item>
			<title>Qml BatteryInfo.currentFlow() Problem</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240137-Qml-BatteryInfo-currentFlow()-Problem&amp;goto=newpost</link>
			<pubDate>Fri, 26 Apr 2013 22:12:56 GMT</pubDate>
			<description><![CDATA[Hello, I have a strange problem, When I run my program for the first time I get a result from BatteryInfo.currentFlow(), but if I close it and run it again, I don't get a result and when I runs it for a third time I get a result, and so on... 
 
(I test my program on *Nokia 500*, *Nokia 700* and I...]]></description>
			<content:encoded><![CDATA[<div>Hello, I have a strange problem, When I run my program for the first time I get a result from BatteryInfo.currentFlow(), but if I close it and run it again, I don't get a result and when I runs it for a third time I get a result, and so on...<br />
<br />
(I test my program on <b>Nokia 500</b>, <b>Nokia 700</b> and I get same problem)</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>Motaz New</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240137-Qml-BatteryInfo-currentFlow()-Problem</guid>
		</item>
		<item>
			<title>Question, how to avoid Starting (no GUI) Qt Application multiple times?</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240112-Question-how-to-avoid-Starting-(no-GUI)-Qt-Application-multiple-times&amp;goto=newpost</link>
			<pubDate>Thu, 25 Apr 2013 12:50:10 GMT</pubDate>
			<description><![CDATA[Hi , 
I develop a NON-GUI Qt application for NOkia C05-00 (s60 3-rd Ed FP2 ). 
When i start application onces, its running. When i second time press on app-icon(or open it with an "options"-softbutton), a guess, new "instance" of application starts.  
I'm not sure, I just notice that my aplication...]]></description>
			<content:encoded><![CDATA[<div>Hi ,<br />
I develop a NON-GUI Qt application for NOkia C05-00 (s60 3-rd Ed FP2 ).<br />
When i start application onces, its running. When i second time press on app-icon(or open it with an &quot;options&quot;-softbutton), a guess, new &quot;instance&quot; of application starts. <br />
I'm not sure, I just notice that my aplication transmitts data to server twice every 10 seconds, but it has to do it just once every 10 seconds. <br />
May be its stupid question but, I'm confused: Is it normal behavior, that two or more instances of the same application can run parallel? <br />
<br />
And how can i avoid starting applicaiton multiple times? <br />
<br />
<br />
Thank you in advance,</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>Summer_time</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240112-Question-how-to-avoid-Starting-(no-GUI)-Qt-Application-multiple-times</guid>
		</item>
		<item>
			<title>Need to stop QML Audio from cpp code</title>
			<link>http://www.developer.nokia.com/Community/Discussion/showthread.php?240109-Need-to-stop-QML-Audio-from-cpp-code&amp;goto=newpost</link>
			<pubDate>Thu, 25 Apr 2013 05:15:06 GMT</pubDate>
			<description>Hi, 
I have a qml which has audio playing.I need to pause the audio from QAPPlication ie cpp code. 
* 
QML CODE is as follows 
*********************************************************** 
import Qt 4.7 
import QtMultimediaKit 1.1 
 
Text { text: “Click Me!”; font.pointSize: 24; width: 150; height:...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
I have a qml which has audio playing.I need to pause the audio from QAPPlication ie cpp code.<br />
*<br />
QML CODE is as follows<br />
***********************************************************<br />
import Qt 4.7<br />
import QtMultimediaKit 1.1<br />
<br />
Text { text: “Click Me!”; font.pointSize: 24; width: 150; height: 50; Audio { id: playMusic source: “music.wav” } MouseArea { id: playArea anchors.fill: parent onPressed: { playMusic.play() } } } ************************************************************ When i hide my qml app ,I need to pause the audio playing. This is straight forward pausing in qml file by using signals and slots I need to pause the audio from cpp code .<br />
The scenario is <br />
When i get an incoming call , I should pause the media which is playing .<br />
I want in Qt app context to pause the media.I dont want QML do the pausing of the media <br />
Please post me if you people have anything</div>

]]></content:encoded>
			<category domain="http://www.developer.nokia.com/Community/Discussion/forumdisplay.php?233-Qt">Qt</category>
			<dc:creator>srav219</dc:creator>
			<guid isPermaLink="true">http://www.developer.nokia.com/Community/Discussion/showthread.php?240109-Need-to-stop-QML-Audio-from-cpp-code</guid>
		</item>
	</channel>
</rss>
