Win32 build

Accueil Forums Feedback Win32 build

  • Ce sujet contient 9 réponses, 3 participants et a été mis à jour pour la dernière fois par braship, le il y a 1 mois et 1 semaine.
10 sujets de 1 à 10 (sur un total de 10)
  • Auteur
    Messages
  • #2130 Répondre
    Anonyme
    Inactif

    Greetings IanniX-ers,

    To celebrate your full source tree up on GoogleCode, I decided to build the app (I didn’t see a Dev-category yet in the board index, so I hope this is the right place for this posting). I got it built and have run it, and I’m impressed that it looks identical, so far, on both the OSX and Win32 platforms. Long live Qt!

    I made some temporary workarounds to get a successful build. Some are ugly and I’d like to communicate with the devs to ensure my fixes become version-portable. I have an older version of VS (vs 2005), which you may not even intend to support. Becasue of HD space limitations, I have not yet installed the SDK and dev tools on my OSX system, but here is the environment for my Win32 build:

      XP Sp3
      VS 2005
      QtSDK 4.1.7

    Cheers,
    –Bob

    #2332 Répondre
    Anonyme
    Inactif

    @I wrote:

      XP Sp3
      VS 2005
      QtSDK 4.1.7

    Oops ! 😳 !

    I mis-typed. Of course I meant

      QtSDK 4.7.1

    …the current release.

    Cheers,
    –Bob

    #2333 Répondre
    IanniX
    Maître des clés

    (sorry about the triple-post)

    You didn’t ask, but here are some details about my build workarounds:

    1



    Issue: qwineventnotifier_p.h not present, but referenced by qextserialport.h 138 #include (this may be a result of QtSDK 4.6 -> 4.7)

    Solution: Import the file qwineventnotifier_p.h from the Gitorius Qt 4.6 branch and put it in ..QtSDKDesktopQt4.7.3msvc2005includeQtCoreprivate (had to create that subdirectory)

    2



    Issue: Symbol M_PI_2 undefined.

    Solution: Edited qmath.h

    N.B. This solution is unacceptable for long term because this header is part of the Qt distro. « M_PI_2 » in mingw but not vc2005 (in math.h, but not in qmath.h).

    3



    Issue: The function round(…) undefined

    Solution: Edited iannix.cpp, uirender.cpp

    4



    Issue: icon.ico format not compatible with vs2005

    Solution: Hacked a new, temp icon.

    N.B. vs2005 resource compiler cannot handle compression or 32-bit color

    5



    Issue: Link errors on all instances of Win32 registry API calls (in qextserialenumerator_win.cpp: getRegKeyValue(…), etc)

    Solution: Edited the makefile, iannix.pro (a required obj library not referenced in the build)

    N.B. Not certain whether this is portable to later versions of MSVC


    (diff files attached)

    XP sp3
    vs2005
    QtSDK 4.7.1

    Cheers,
    –Bob

    #2334 Répondre
    Anonyme
    Inactif

    …I was not logged in. Do you really want to allow non-members to reply?

    Anyway, that may be why my attachments did not stick. I’ll try to attach the diff-files to this post…

    Ah, « diff » is not allowed. I’ll zip ’em.

    Cheers,
    –Bob.

    #2335 Répondre
    IanniX
    Maître des clés

    Hi Bob !

    Well, I experience difficulties with the new QtSDK bundle. If your want to compile without errors or warnings, you need the previous package of Qt : ftp://ftp.qt.nokia.com/qtsdk/qt-sdk-win-opensource-2010.05.exe

    I also use QtCreator (instead of Microsoft Visual Studio), it’s easier and you have nothing to configure. And it’s included in Qt package.

    Hope it will help you !

    #2336 Répondre
    Anonyme
    Inactif

    Hi to you, Iannix!

    …Guillaume? …Thierry?

    QtCreator — exactly, and I do use it. On Win32, QtCreator by default front-ends either the MinGW compiler or MSVC. Because I already had vs2005 installed on my main worksation (from my days as a MFC/.NET developer), I let it default to MSVC.

    I suspected you were using QtSDK 4.6 and that my use of 4.7 was part of the reason my builds had problems at first. As for your Win32 builds, are you using the MinGW compiler?

    The last thing I want is my own private branch, so I’ll be willing to consider back-versioning my QtSDK installation. I’ll look into the compiler/object-lib issues after I do that.

    « …compile without … warnings » ? !
    Shall I take that as a guarantee? 🙂

    Cheers,
    –Bob

    #2337 Répondre
    Anonyme
    Inactif

    …Guillaume? …Thierry?

    Here’s Guillaume!

    QtCreator — exactly, and I do use it. On Win32, QtCreator by default front-ends either the MinGW compiler or MSVC. Because I already had vs2005 installed on my main worksation (from my days as a MFC/.NET developer), I let it default to MSVC.

    Ok, I’ve never used Visual Studio, but I think it can work (hmmm… compile IanniX with a proprietary compiler…).

    I suspected you were using QtSDK 4.6 and that my use of 4.7 was part of the reason my builds had problems at first. As for your Win32 builds, are you using the MinGW compiler?

    We are using Qt4.7, but not packaged in QtSDK. And we are using MinGW compiler. I think QtSDK is not totaly ready (deployment on Mac OS X bugs, some libs are not working…). So the package are here :

    The last thing I want is my own private branch, so I’ll be willing to consider back-versioning my QtSDK installation. I’ll look into the compiler/object-lib issues after I do that.

    Ok. And thanks for your interest in IanniX and its developement. I will change the code with your diff file (round => qRound, M_PI_2 and -lAdvapi32).

    « …compile without … warnings » ? !
    Shall I take that as a guarantee? 🙂

    Ok let’s say : « less than 10 warnings » ^^

    #2338 Répondre
    Anonyme
    Inactif

    Okay, Guillaume, I appreciate the guidance. I’ll let you know how things work out when I get back to my dev workstation.

    « Ok let’s say : « less than 10 warnings » ^^

    …It’s just that « unreferenced formal parameter » warnings always make me nervous :–)

    Cheers,
    –Bob

    #2339 Répondre
    Anonyme
    Inactif

    @AvantGuy wrote:

    …It’s just that « unreferenced formal parameter » warnings always make me nervous :–)

    😀

    #8175 Répondre
    braship
    Invité

    so if it continues, just have your doc check it out priligy prescription and EU sanctions have reduced Iran s oilexports by more than half

10 sujets de 1 à 10 (sur un total de 10)
Répondre à : Win32 build
Vos informations :





© IanniX Association

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos