0

I have no development experience in Qt/KDE and Python, but I know Windows CE development using Visual Studio for mobile platforms. My requirement is to build the open object client https://launchpad.net/openobject-client-kde for Windows CE 5.2 devices.

I have downloaded the sources from http://sourceforge.net/p/ktiny/code/HEAD/tree/ but don't know what to do with it. I understood those source contains Python and Qt files.

Could someone please let me know how I can build/compile the downloaded sources? I am using Windows 8, and what are the SDK/IDE/Libs that are to be configured

Thanks in Advance

@nish

Community
  • 1
  • 1
MobDev
  • 1,489
  • 1
  • 17
  • 26

1 Answers1

2

The source you downloaded does contain "Qt files" only in a sense. What it really has is various build scripts, C++ source files, .ui xml and .qml files for user interface generation. The C++ and .ui sources need to be run through code generators (moc and uic, respectively), to generate more C++ code.

"All" you do to get this code to work is to compile it using whatever build system it uses and link it with the Qt library.

The first step is to get a working Qt build for your target platform. You need to get to a point where you have the examples included with Qt running on your Windows CE 5.2 device. Until you get to that point, there's no reason whatosever to even look at the openproject files themselves. If you can't get bare Qt to work on your target, you're toast.

The second step is to figure out the dependencies of the openobject client project - does it really need KDE, and to what extent?

Thirdly, you have to acquire and build those dependencies, and make sure that they work on your target platform. For KDE, there's plenty of example applications that you can use to try things out.

Lastly, you'll get to build the openobject code itself.

Note that it's very likely that none of the projects you'll be building include any Visual Studio project files, so you'll be running all of the build using various commandline build tools.

It'll be, in fact, likely easiest to do the builds using Qt Creator rather than Visual Studio, since Visual Studio doesn't really support out-of-the-box any build systems other than its own. Note that Visual Studio has two main components: the IDE, and the compilers with requisite runtime libraries. You don't need to use the former to use the latter.

As-is, though, your question is way too broad and you'll need to come back and ask separate questions as you run into individual problems.

Kuba hasn't forgotten Monica
  • 95,931
  • 16
  • 151
  • 313
  • Hi Kuba Ober, But the source contain not only "QT files" also ".py" (Python) files. I have compiled the code using Python, PyQt4 and Eclipse (check this url http://popdevelop.com/2010/04/setting-up-ide-and-creating-a-cross-platform-qt-python-gui-application/) and now I can run the downloaded code in my Windows 8 machine. So I thin KDE is not required. Now what I have is a Python project (PyQt4 for UI) and what should I do to compile it for Windows CE? – MobDev May 14 '14 at 11:35
  • @anish As I've said, the first step is getting Qt itself working on your platform. Then get the dependencies working - such as python and whatever python packages and other libraries are needed, like PyQt4. Finally, you'll get the openobject project built, if it needs building. If it doesn't have any C++ components, then you don't need to build it, just run it under python on your target platform, given that by then you have PyQt4 working on the target as well. – Kuba hasn't forgotten Monica May 15 '14 at 11:22