Active Topics

 


Reply
Thread Tools
Posts: 28 | Thanked: 2 times | Joined on Feb 2010
#1
Hello there.

I'm trying to develop a homescreen widget for my N900. I've seen a guide of how to do it, but it uses the maemo5-homescreen example found here. The problem is, I'm developing on Windows 7, and when I try to compile the maemo5-homescreen example I get a lot of errors, all starting with "X11/Xlib.h: not found". I know this is related to the fact I'm developing under Windows, and afaik, X11 is for Linux.

I tryied just erasing the "#include <X11/*>" lines, but got other errors, of course. I'm not sure if there is a way to get X11 working on Windows (not Linux as I previously stated, sorry if this sentence is too noob), or if the X11 lib is really necessary to develop a widget that works on the homescreen. Either way, is it possible to develop a desktop widget under Windows? Or will I have to install a scratchbox or something?

Last edited by The_Legend; 2011-04-12 at 20:11.
 
Posts: 435 | Thanked: 769 times | Joined on Apr 2010
#2
Do you use Qt Creator? If so, you must have those libs installed.

The X11 head file is withing the dev packages libhildon1-dev libhildondesktop1-dev

When you prepared your building enviroment, have you added the sdk repo?
 
Posts: 28 | Thanked: 2 times | Joined on Feb 2010
#3
Originally Posted by gionni88 View Post
Do you use Qt Creator? If so, you must have those libs installed.

The X11 head file is withing the dev packages libhildon1-dev libhildondesktop1-dev

When you prepared your building enviroment, have you added the sdk repo?
Yes, I'm using the Qt Creator. Should those libs be installed even if I'm under Windows?

I didn't really prepare my building environment, I just installed the Qt SDK. How do I add the sdk repo on Windows?

I skipped the step of installing the libqtm-* on my N900, but I don't think it has anything to do with my problem...
 
Posts: 28 | Thanked: 2 times | Joined on Feb 2010
#4
Nevermind, I just found the problem. I was building for Qt Simulator instead of building directly for Maemo Device. Now it is compiling.
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:02.