Win32 build

Home Forums Feedback Win32 build

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2130 Reply
    Anonymous
    Inactive

    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 Reply
    Anonymous
    Inactive

    @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 Reply
    IanniX
    Keymaster

    (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 Reply
    Anonymous
    Inactive

    …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 Reply
    IanniX
    Keymaster

    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 Reply
    Anonymous
    Inactive

    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 Reply
    Anonymous
    Inactive

    …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 Reply
    Anonymous
    Inactive

    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 Reply
    Anonymous
    Inactive

    @AvantGuy wrote:

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

    😀

    #8175 Reply
    braship
    Guest

    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

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: Win32 build
Your information:





© IanniX Association

What is IanniX? | Download | Showcase | Forums | Research | About