<?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[Cross platform coding]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">So I am confused, very confused and I should be for I do not speak programmer.</p>
<p dir="auto">I am just a guy who wanted to explore the possibility of creating a game for my 3 year old.</p>
<p dir="auto">Set out on the journey..<br />
Ask a couple of friends who are programers where to start...one says C++ the other Pascal. Simple enough spend a few days...a week actually... finding which language has the best support system. C++ wins.<br />
During the research notice a few articles on IDEs and cross platform coding. Contemplate that I myself use both Windows and Ubuntu and I have friends who use Apples. So research IDEs Narrow done to Code::Blocks and QT. I am enthralled with the interface for QT so spend some time understanding the IDE.<br />
In the game I desire to use an earth globe as the "game terrain" so look for a Google Earth type "script" which can be embedded into a C++ application. Low and behold KDE has such a thing. Cannot make it work in Windows QT Creator so go to the Marble IRC and chat with a fellow who suggested to start coding in Ubuntu. Reboot to Ubuntu and follow the KDE Marble Tutorials and get a working QT pro file and source file. Actually works Ya Hoo<br />
Reboot to Windows open QT open the project pro file read the warning(why is there a warning?) configure it and then run it.<br />
BAMM nothing but errors.</p>
<p dir="auto">Any ideas what I did wrong?<br />
Bill</p>
]]></description><link>https://forum.qt.io/topic/21411/cross-platform-coding</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 04:02:52 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/21411.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Nov 2012 16:20:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cross platform coding on Thu, 15 Nov 2012 18:07:35 GMT]]></title><description><![CDATA[<p dir="auto">Sierdizo,</p>
<p dir="auto">The links is just another attempt of the Universe to challenge my optimism.<br />
When I clicked the links I too went to a page other than I expected. But the page did have a link to Marble which did have some instruction on building a proper QT pro file so I am going to look at that information.<br />
Of course the instructions for compiling Marble do not work so I feel using Marble is a loss.</p>
<p dir="auto">But, thank you for your help and interest.<br />
Bill</p>
]]></description><link>https://forum.qt.io/post/157131</link><guid isPermaLink="true">https://forum.qt.io/post/157131</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 15 Nov 2012 18:07:35 GMT</pubDate></item><item><title><![CDATA[Reply to Cross platform coding on Thu, 15 Nov 2012 12:58:50 GMT]]></title><description><![CDATA[<p dir="auto">Yeah, it seems that those errors will go away once g++ finds the headers. There are several ways why it may fail. One, although unlikely, is shadow building. You can turn it off in "Projects" pane in QtCreator.</p>
<p dir="auto">Others will require you to post the .pro file of marble.</p>
<p dir="auto">BTW. the links you provided do not work.</p>
]]></description><link>https://forum.qt.io/post/157107</link><guid isPermaLink="true">https://forum.qt.io/post/157107</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Thu, 15 Nov 2012 12:58:50 GMT</pubDate></item><item><title><![CDATA[Reply to Cross platform coding on Thu, 15 Nov 2012 12:51:27 GMT]]></title><description><![CDATA[<p dir="auto">Sierdzio,</p>
<p dir="auto">Here is the path to my insanity...</p>
<p dir="auto">Compiling from a SUDO Terminal using Ubuntu....<br />
There are folders QT4 and marble located at /usr/include</p>
<p dir="auto"><a href="http://techbase.kde.org/Projects/Marble/MarbleCPlusPlus" target="_blank" rel="noopener noreferrer nofollow ugc">http://techbase.kde.org/Projects/Marble/MarbleCPlusPlus</a>... worked and I got a screen<br />
<a href="http://techbase.kde.org/Projects/Marble/MarbleMarbleWidget" target="_blank" rel="noopener noreferrer nofollow ugc">http://techbase.kde.org/Projects/Marble/MarbleMarbleWidget</a>... worked this is also the first with instructions on how to build a project file<br />
<a href="http://techbase.kde.org/Projects/Marble/MarbleSignalsSlots....worked" target="_blank" rel="noopener noreferrer nofollow ugc">http://techbase.kde.org/Projects/Marble/MarbleSignalsSlots....worked</a> I altered the pro file from tutorial 2 and suceeded in creating a project with Creator<br />
<a href="http://techbase.kde.org/Projects/Marble/MarbleGeoPainter" target="_blank" rel="noopener noreferrer nofollow ugc">http://techbase.kde.org/Projects/Marble/MarbleGeoPainter</a>... same as above</p>
<p dir="auto">I have all the  Header and Source files central located at C:\Programs\marble and this is in my path.</p>
<p dir="auto">I could not duplicate the warning I got when I opened the file for the first time.</p>
<p dir="auto">When running the marble_weather project file resulted in the following...</p>
<p dir="auto">Compile output...</p>
<p dir="auto">06:35:23: Running steps for project marble_weather...<br />
06:35:23: Configuration unchanged, skipping qmake step.<br />
06:35:23: Starting: "C:\Programs\MinGW\bin\mingw32-make.exe"<br />
C:/Programs/MinGW/bin/mingw32-make -f Makefile.Release<br />
mingw32-make[1]: Entering directory <code>G:/gameprojects/marble_weather-build-Desktop-Release' g++ -c -O2 -Wall -Wextra -fno-exceptions -fno-rtti -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -DQT_NO_DYNAMIC_CAST -I"c:\Programs\Qt\include\QtCore" -I"c:\Programs\Qt\include\QtGui" -I"c:\Programs\Qt\include" -I"..\qt" -I"c:\Programs\Qt\include\ActiveQt" -I"release" -I"." -I"c:\Programs\Qt\mkspecs\win32-g++" -o release\marble_weather.o ..\qt\marble_weather.cpp ..\qt\marble_weather.cpp:3:33: marble/MarbleGlobal.h: No such file or directory ..\qt\marble_weather.cpp:4:33: marble/MarbleWidget.h: No such file or directory ..\qt\marble_weather.cpp:5:38: marble/AbstractFloatItem.h: No such file or directory ..\qt\marble_weather.cpp:7: error: </code>Marble' is not a namespace-name<br />
..\qt\marble_weather.cpp:7: error: expected namespace-name before ';' token<br />
..\qt\marble_weather.cpp: In function <code>int qMain(int, char**)': ..\qt\marble_weather.cpp:14: error: </code>MarbleWidget' was not declared in this scope<br />
..\qt\marble_weather.cpp:14: error: <code>mapWidget' was not declared in this scope ..\qt\marble_weather.cpp:14: error: </code>MarbleWidget' is not a type<br />
..\qt\marble_weather.cpp:19: error: <code>Mercator' was not declared in this scope ..\qt\marble_weather.cpp:29: error: template argument 1 is invalid ..\qt\marble_weather.cpp:29: error: invalid type in declaration before '(' token ..\qt\marble_weather.cpp:29: error: request for member </code>brk' in <code>_container_', which is of non-class type </code>int'<br />
..\qt\marble_weather.cpp:29: error: request for member <code>i' in </code><em>container</em>', which is of non-class type <code>int' ..\qt\marble_weather.cpp:29: error: request for member </code>e' in <code>_container_', which is of non-class type </code>int'<br />
..\qt\marble_weather.cpp:29: error: request for member <code>brk' in </code><em>container</em>', which is of non-class type <code>int' ..\qt\marble_weather.cpp:29: error: request for member </code>i' in <code>_container_', which is of non-class type </code>int'<br />
..\qt\marble_weather.cpp:29: error: <code>AbstractFloatItem' was not declared in this scope ..\qt\marble_weather.cpp:29: error: </code>floatItem' was not declared in this scope<br />
..\qt\marble_weather.cpp:29: error: request for member <code>i' in </code><em>container</em>', which is of non-class type <code>int' ..\qt\marble_weather.cpp:29: error: request for member </code>brk' in <code>_container_', which is of non-class type </code>int'<br />
..\qt\marble_weather.cpp:29: warning: unused variable 'AbstractFloatItem'<br />
..\qt\marble_weather.cpp:14: warning: unused variable 'MarbleWidget'<br />
..\qt\marble_weather.cpp:19: warning: unused variable 'Mercator'<br />
mingw32-make[1]: Leaving directory `G:/gameprojects/marble_weather-build-Desktop-Release'<br />
mingw32-make[1]: *** [release/marble_weather.o] Error 1<br />
mingw32-make: *** [release] Error 2<br />
06:35:24: The process "C:\Programs\MinGW\bin\mingw32-make.exe" exited with code 2.<br />
Error while building/deploying project marble_weather (target: Desktop)<br />
When executing step 'Make'</p>
<p dir="auto">What I do not understand is why Creator does not seem to find the header files? And if it did would the other errors be resolved?</p>
<p dir="auto">If you know of a better way to get the globe into a Creator gui application I would love to hear it.</p>
<p dir="auto">Thanks,<br />
Bill</p>
]]></description><link>https://forum.qt.io/post/157106</link><guid isPermaLink="true">https://forum.qt.io/post/157106</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 15 Nov 2012 12:51:27 GMT</pubDate></item><item><title><![CDATA[Reply to Cross platform coding on Thu, 15 Nov 2012 07:16:58 GMT]]></title><description><![CDATA[<p dir="auto">We need to see those errors, I'm afraid. And the warning you mentioned, too (I suspect the warning was about the existence of .pro.user file - you should delete this file before using the code on another system/ machine. Better yet is to use some version control (git, mercurial)).</p>
<p dir="auto">Qt in general is cross-platform, but Marble might have some platform-specific code in it. Also, I think KDE uses cmake build system which is a bit different than Qt's qmake.</p>
<p dir="auto">On an other note - congratulations for your idea and persistence! I'm really impressed!</p>
]]></description><link>https://forum.qt.io/post/157052</link><guid isPermaLink="true">https://forum.qt.io/post/157052</guid><dc:creator><![CDATA[sierdzio]]></dc:creator><pubDate>Thu, 15 Nov 2012 07:16:58 GMT</pubDate></item></channel></rss>