maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Technology Preview: MADDE (https://talk.maemo.org/showthread.php?t=38075)

timperi 2009-12-28 09:14

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by Sasler (Post 443618)
I'm running it on 64 bit Windows 7 and it works just fine.

Well, there is that issue of "over sensitivity" (look the above post). :rolleyes: I wonder if that is caused by the incompatibility issues with the 64 bit Windows 7? :D But other than that, it's working fine. :)

Ok I will try to figure this out, as you got it to work on 64bit W7.
Over sensitive software is always tricky :D

Sasler 2009-12-28 09:45

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by rontti (Post 443648)
Threre is create IDE called qt-creator.

I'm actually using Qt Creator for my apps. It's quite nice and I like it. :) But if this MADDEN could be incorporated in Qt Creator, it would be really great. :)

What I would like is, when I click RUN, it would compile (or build... I don't know which is the correct term) it to my previously selected platform (in this case for Maemo 5) and then run it in my selected device (N900). All this in one single click! :D

However, already now MADDEN is really great. :cool: I can't wait for the functional emulator of N900! :)

rontti 2009-12-28 09:55

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by Sasler (Post 443685)
I'm actually using Qt Creator for my apps. It's quite nice and I like it. :) But if this MADDEN could be incorporated in Qt Creator, it would be really great. :)

What I would like is, when I click RUN, it would compile (or build... I don't know which is the correct term) it to my previously selected platform (in this case for Maemo 5) and then run it in my selected device (N900). All this in one single click! :D

However, already now MADDEN is really great. :cool: I can't wait for the functional emulator of N900! :)

The MADDE and QT Creator integration is already done. QT Creator team just wait that we publish MADDE. Unfortunately I don't know where to download it.

Sasler 2009-12-28 09:57

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by rontti (Post 443689)
The MADDE and QT Creator integration is already done. QT Creator team just wait that we publish MADDE. Unfortunately I don't know where to download it.

Great news! :)

Is there a way to give multiple Thanks? :D

tekojo 2009-12-28 12:26

Re: Technology Preview: MADDE
 
Not sure if it is mentioned anywhere, but you can use Creator so that you open the project normally on the pc and compile on pc as usual.
And only when you cross-compile, you open MADDE, run a 'make clean' and build for the N900. A bit of a trick, but it works for me.

I guess we kind of surprised the Qt Creator folks a bit with the timing too :-) Let's see when they can come up with a Creator version for MADDE.

Sasler 2009-12-28 12:51

Re: Technology Preview: MADDE
 
Quote:

Originally Posted by tekojo (Post 443788)
Not sure if it is mentioned anywhere, but you can use Creator so that you open the project normally on the pc and compile on pc as usual.
And only when you cross-compile, you open MADDE, run a 'make clean' and build for the N900. A bit of a trick, but it works for me.

I guess we kind of surprised the Qt Creator folks a bit with the timing too :-) Let's see when they can come up with a Creator version for MADDE.

I also find out that when trying to compile again with Qt Creator after you have done a compile with MADDE, it will give an error and fail. The workaround I found was to simply delete all the files in the built directory. After this, it works fine.

Sasler 2009-12-28 13:19

Re: Technology Preview: MADDE
 
One more thing I noticed (for simpletons like me ;)). If you try to create a new project with Qt Creator and then compile it with MADDE, it won't work. You first need to create it with MADDE using the:

mad pscreate -t qt_simple <project name>

And then you can open that project with Qt Creator. By right clicking the project, choose Add New. I then choose Qt Designer Form Class . In the next page I've tried Main Window and Widget. They both seem to work fine. I don't know which is the better one or if it matters at all.

In the next page I found it better to append to the path \src as this is where MADDE creates the qtmain.cpp. After these files have been added, I edit qtmain.cpp so that it looks something like this (if using Widget):

Code:

#include <QtGui/QApplication>
#include "form.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Form f;
    f.show();
    return a.exec();
}

This, at least, works for me. :)

funpig 2009-12-29 02:51

Re: Technology Preview: MADDE
 
1 Attachment(s)
hello, firstly, thanks for your nice job.
i put install-madde-xmas.exe in G:\maemo and execute it to install MADDE to D:\MADDE. when it completed, i check the D:\MADDE folder, it's missing so much file , just cache folder, few file existed. other missing things present in G:\maemo.
i put install-madde-xmas.exe in D:\, and install it again, all of things in D:\MADDE. and it's works fine.

BTW: i attached the fail install log.

And i will continue use it and report issue that i meet.

timperi 2009-12-29 03:02

Re: Technology Preview: MADDE
 
I just compiled my IRC-client for the N900, and it worked on the first go on the device! I couldn't be more happy :)

My previous problem, that I couldn't start MADDE Terminal on Win7/64bit was fixed/worked around by setting XP compatibility mode on the madde.bat -file in \MADDE\0.5

A big thank you for the people behind MADDE again!

Sasler 2009-12-29 16:08

Re: Technology Preview: MADDE
 
OK. This is probably going to be a silly question:

How can I include external files in the package done with MADDE? For example, I want to use something like this:

Code:

QSound::play("sounds/bells.wav");
Let us assume that I would have this sound file in the sounds directory, which is in the project root directory in the PC. How can I include this entire directory?

Alternatively, how can I use Maemo "system" sounds?


All times are GMT. The time now is 11:43.

vBulletin® Version 3.8.8