Reply
Thread Tools
Posts: 21 | Thanked: 14 times | Joined on Dec 2009 @ Turku, Finland
#51
Originally Posted by Sasler View Post
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). I wonder if that is caused by the incompatibility issues with the 64 bit Windows 7? 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
 

The Following 2 Users Say Thank You to timperi For This Useful Post:
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#52
Originally Posted by rontti View Post
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!

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

The Following User Says Thank You to Sasler For This Useful Post:
Posts: 62 | Thanked: 97 times | Joined on Dec 2009 @ Finland, Kerava
#53
Originally Posted by Sasler View Post
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!

However, already now MADDEN is really great. 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.
 

The Following 10 Users Say Thank You to rontti For This Useful Post:
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#54
Originally Posted by rontti View Post
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?
 
tekojo's Avatar
Posts: 148 | Thanked: 484 times | Joined on Nov 2008
#55
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.
 

The Following 5 Users Say Thank You to tekojo For This Useful Post:
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#56
Originally Posted by tekojo View Post
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.
 
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#57
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.
 

The Following 4 Users Say Thank You to Sasler For This Useful Post:
Posts: 51 | Thanked: 15 times | Joined on Apr 2009 @ ChengDu, SiChuan, P.R.C
#58
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.
Attached Files
File Type: txt install.txt (18.2 KB, 144 views)
 

The Following User Says Thank You to funpig For This Useful Post:
Posts: 21 | Thanked: 14 times | Joined on Dec 2009 @ Turku, Finland
#59
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!

Last edited by timperi; 2009-12-29 at 03:03. Reason: typos
 

The Following 4 Users Say Thank You to timperi For This Useful Post:
Posts: 434 | Thanked: 325 times | Joined on Sep 2009
#60
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?
 
Reply

Tags
madde


 
Forum Jump


All times are GMT. The time now is 16:42.