Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
101 user(s) are online (51 user(s) are browsing Forums)

Members: 0
Guests: 101

more...

Headlines

 
  Register To Post  

(1) 2 3 4 »
QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
OK, first try with the QT SDK, and there are some issues.

The installer should add a path to the user startup else qmake can't be found. I added this to my user-startup to make qmake available.

Path Bob:QT-4.7/bin/ add

So after that, i continued and tried to build my first project, so i typed "qmake" in shell... qmake started working but after a few seconds i got this requester: Please insert volume Work: in any drive. Process: "qmake".

So it seems you have an hardcoded path in qmake?

I tried to assign work: to bob: (see path above) and then qmake failed with this message:

6.RAM Disk:znotes-0.4.5> qmake
findConfiguration()
OOPS!
qtconfig= "/qt/bin/qt.conf"

i checked in qt:bin/ but there is no file called qt.conf?

After some research i found out what that file should contain,
and rolled my own:

[Paths]
Prefix=/qtdir
Libraries=/qtdir/lib

i guess qtdir is a variable? i don't know if it's set in the amigaos port?
maybe it should be changed into:

[Paths]
Prefix=/Qt
Libraries=/Qt/lib

... alfkil?

It would be nice if this was done by the installer.

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
so now i tried to simply type qmake, and voila, i got myself a makefile! :D
... and a bunch of compiler errors... damn! :D

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
I just tried to configure speedcrunch:
http://qt-apps.org/content/show.php/SpeedCrunch?content=69979

and got this message?

6.RAM Disk:speedcrunch-0.11-alpha/src> qmake
findConfiguration()
OOPS!
qtconfig= "/qt/bin/qt.conf"
Project ERROR: unsupported Qt major version found but 4 required

Seems wrong, as we have qt 4, right? something wrong in my qt.conf?

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
QT seems to clash with the amigaos sdk?

The last three projects i tried to compile gave me this error:

In file included from /SDK/newlib/include/sys/time.h:16,
from /SDK/newlib/include/sys/resource.h:4,
from /SDK/newlib/include/sys/reent.h:19,
from /SDK/newlib/include/string.h:11,
from /qt/include/QtCore/qbytearray.h:48,
from /qt/include/QtCore/qstring.h:46,
from /qt/include/QtCore/qobject.h:48,
from /qt/include/QtCore/qcoreapplication.h:45,
from /qt/include/QtGui/qapplication.h:45,
from /qt/include/QtGui/QApplication:1,
from main.cpp:1:
/SDK/newlib/include/sys/select.h:80: error: expected ',' or '...' before 'protected'

in sys/select.h on line 80 we find:
int waitselect _PARAMS ((int, fd_set *, fd_set *, fd_set *, struct timeval *, unsigned int *signals));

if i comment that line all compiles without problem, but, well, this is the wrong approach ofcourse. =)

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
the first bin i got (with the nasty comment in select.h crashed on start,
so i deleted it and tried another one..
also this one with the comment in select.h,
this one also crashes on start, i thought i'd paste some feedback here.

shell output:

6.RAM Disk:JSPong_Qt> JSPong_Qt
findConfiguration()
qtconfig= "./qt.conf"
NATIVE PAINTING *****************
Loading AMiGA font (rawmode): ' DejaVu Sans Bold.font ' pointSize = 20
pixelSize = 20
No extra!
create_sys: window: 0x66e2fba8
createDefaultWindowSurface_sys()
Creating QAmigaWindowSurface for MainWindow(0x5e0c6b84) : 0x5e5f4590
AmigaWindowSurface::setGeometry( QRect(0,0 550x350) )

stacktrace:



Symbol info:
Instruction pointer 0x7D11C890 belongs to module "libQtGui.so" (PowerPC)
Symbol: _ZNK11QTextEngine7itemizeEv + 0x0 in section 10 offset 0x0064B890

Stack trace:
libQtGui.so:_ZNK11QTextEngine7itemizeEv()+0x0 (section 10 @ 0x64B890)
libQtGui.so:_Z14qt_format_textRK5QFontRK6QRectFiPK11QTextOptionRK7QStringPS2_iPiiP8QPainter()+0x129c (section 10 @ 0x3E5C90)
libQtGui.so:_ZN8QPainter8drawTextERK5QRectiRK7QStringPS0_()+0x19c (section 10 @ 0x3E714C)
libQtGui.so:_ZNK6QStyle12drawItemTextEP8QPainterRK5QRectiRK8QPalettebRK7QStringNS5_9ColorRoleE()+0x5d0 (section 10 @ 0x811E78)
libQtGui.so:_ZNK12QCommonStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget()+0x7f90 (section 10 @ 0x866F9C)
libQtGui.so:_ZNK13QWindowsStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget()+0x84f0 (section 10 @ 0x98A184)
libQtGui.so:_ZNK15QPlastiqueStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget()+0x16a84 (section 10 @ 0x919228)
libQtGui.so:_ZNK12QCommonStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget()+0x5fb4 (section 10 @ 0x864FC0)
libQtGui.so:_ZNK13QWindowsStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget()+0x84f0 (section 10 @ 0x98A184)
libQtGui.so:_ZNK15QPlastiqueStyle11drawControlEN6QStyle14ControlElementEPK12QStyleOptionP8QPainterPK7QWidget()+0x16a84 (section 10 @ 0x919228)
libQtGui.so:_ZN13QStylePainter11drawControlEN6QStyle14ControlElementERK12QStyleOption()+0x64 (section 10 @ 0x9FBD38)
libQtGui.so:_ZN7QTabBar10paintEventEP11QPaintEvent()+0x7ec (section 10 @ 0xBDB238)
libQtGui.so:_ZN7QWidget5eventEP6QEvent()+0xf34 (section 10 @ 0x1496C8)
libQtGui.so:_ZN7QTabBar5eventEP6QEvent()+0x6fc (section 10 @ 0xBDDA08)
libQtGui.so:_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent()+0x248 (section 10 @ 0x1D630)
libQtGui.so:_ZN12QApplication6notifyEP7QObjectP6QEvent()+0x4184 (section 10 @ 0x21808)
libQtCore.so:_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent()+0x258 (section 10 @ 0x2F5798)
libQtGui.so:_ZN16QCoreApplication20sendSpontaneousEventEP7QObjectP6QEvent()+0x80 (section 10 @ 0x49DC8)
libQtGui.so:_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0xe58 (section 10 @ 0x1430B4)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x798 (section 10 @ 0x1441F8)
libQtGui.so:_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x16d4 (section 10 @ 0x143930)
libQtGui.so:_ZN14QWidgetPrivate22paintSiblingsRecursiveEP12QPaintDeviceRK5QListIP7QObjectEiRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x798 (section 10 @ 0x1441F8)
libQtGui.so:_ZN14QWidgetPrivate10drawWidgetEP12QPaintDeviceRK7QRegionRK6QPointiP8QPainterP19QWidgetBackingStore()+0x16d4 (section 10 @ 0x143930)
libQtGui.so:_ZN19QWidgetBackingStore4syncEv()+0x167c (section 10 @ 0x5BDB24)
libQtGui.so:_ZN14QWidgetPrivate16syncBackingStoreEv()+0x240 (section 10 @ 0x12CAC0)
libQtGui.so:_ZN14QWidgetPrivate8show_sysEv()+0x120 (section 10 @ 0x1AE2C8)
libQtGui.so:_ZN14QWidgetPrivate11show_helperEv()+0x5e4 (section 10 @ 0x151F08)
libQtGui.so:_ZN14QWidgetPrivate14show_recursiveEv()+0x1d4 (section 10 @ 0x151440)
libQtGui.so:_ZN14QWidgetPrivate12showChildrenEb()+0x33c (section 10 @ 0x15179C)
libQtGui.so:_ZN14QWidgetPrivate11show_helperEv()+0x178 (section 10 @ 0x151A9C)
libQtGui.so:_ZN7QWidget10setVisibleEb()+0x900 (section 10 @ 0x152B50)
libQtGui.so:_ZN7QWidget4showEv()+0x38 (section 10 @ 0x1A8B24)
libQtGui.so:_ZN14QWidgetPrivate12showChildrenEb()+0x358 (section 10 @ 0x1517B8)
libQtGui.so:_ZN14QWidgetPrivate11show_helperEv()+0x178 (section 10 @ 0x151A9C)
libQtGui.so:_ZN7QWidget10setVisibleEb()+0x900 (section 10 @ 0x152B50)
libQtGui.so:_ZN7QWidget4showEv()+0x38 (section 10 @ 0x1A8B24)
libQtGui.so:_ZN14QWidgetPrivate12showChildrenEb()+0x358 (section 10 @ 0x1517B8)
libQtGui.so:_ZN14QWidgetPrivate11show_helperEv()+0x178 (section 10 @ 0x151A9C)
libQtGui.so:_ZN7QWidget10setVisibleEb()+0x900 (section 10 @ 0x152B50)
libQtGui.so:_ZN7QWidget4showEv()+0x38 (section 10 @ 0x1A8B24)
JSPong_Qt:main()+0x1a0 (section 9 @ 0x5C8)
native kernel module newlib.library.kmod+0x0000208c
native kernel module newlib.library.kmod+0x00002cec
native kernel module newlib.library.kmod+0x00002eb0
JSPong_Qt:_start()+0x170 (section 9 @ 0x170)
native kernel module dos.library.kmod+0x00023018
native kernel module kernel+0x0004391c
native kernel module kernel+0x0004399c


Go to top
Re: QT SDK feedback and questions
Home away from home
Home away from home


See User information
@spot
You remember that for any QT app you should manually set stacksize all the time ?

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
Kazooee: actually, i did not set any stacksize.
In my shell startup i have "stack 5000000" shouldn't that be enough?

Go to top
Re: QT SDK feedback and questions
Home away from home
Home away from home


See User information
@spot
Should be enough then, right.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: QT SDK feedback and questions
Amigans Defender
Amigans Defender


See User information
The major version number thing there is a fix for... you need a particular file.

I think this is it:
Quote:

#configuration
CONFIG +=  release stl qt_no_framework
QT_ARCH = powerpc
QT_EDITION = OpenSource
QT_CONFIG +=  qt3support accessibility opengl minimal-config small-config medium-config large-config full-config reduce_exports system-jpeg system-mng system-png png gif system-freetype system-zlib nis cups iconv glib qdbus nas fontconfig release

#versioning
QT_VERSION = 4.7.1
QT_MAJOR_VERSION = 4
QT_MINOR_VERSION = 7
QT_PATCH_VERSION = 1


copy it into a file called qt:mkspecs/qconfig.pri

If that isn't it I'll have another look. I did mention it in the old Qt thread so you could have a look through there.

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
Bump, alfkil?

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
@spotUP

The missing PATH is because you have choosen "update" in the installer. That way the s:startup-sequence is not updated, and since your last installed version was "user", there is a missing line there. This is of course a mistake, I will change it. Thanks for reporting!

The qt.conf problem is a little more strange, I will need to look into that.

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
Ok, i will delete qt and reinstall then.

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
Alfkil what about the sdk clash?

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
@spot

The version problem you mention is probably due to me inserting a lot of stupid debug output. I think the script might expect to get the version from qmake and not getting it but just some random debug output instead. Should be fixed.

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
@spot

About the SDK clash: For some reason, the c++ compiler doesn't like the work "signals" in the header. Just change it to "_signals" (or smth similar) for now. The same problem might occur in exec and bsdsocket at some point.

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
@spotup

About the crash you experience from JSPong: Can you try and track down which font is used? Have you tried both the native renderer and opengl (there might be a difference)?

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
@spotUP

Could you maybe post the .pro file that makes the version error?

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
Alfkil can you come to #amigadev on irc.amigaworld.net? We could work out bugs a million times faster! Or do you have msn?

Go to top
Re: QT SDK feedback and questions
Just can't stay away
Just can't stay away


See User information
@spotUP

I am an idiot with IRC. I have a client on my Ubuntu machine, but I don't know how to use it. Is there a keyword for connecting to a server? /CONNECT maybe...? No, doesn't seem to work...

Go to top
Re: QT SDK feedback and questions
Home away from home
Home away from home


See User information
@alfkil
/server

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post
(1) 2 3 4 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project