Results 1 to 5 of 5

Thread: static building qt, error: declaration of c function conflicts

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: static building qt, error: declaration of c function conflicts

    ok, I have solved this problem.

    The solution consists in modifying the winbase.h, parts that contain the 'volatile' type modifier near the formal parameter declaration in a few functions.

    Kind Regards

  2. #2
    Join Date
    Jan 2009
    Posts
    54
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: static building qt, error: declaration of c function conflicts

    Hello.

    I have the some problem, could you explain more how modify the winbase.h?, because I don't have any volatile type in my winbase.h.

    Thank you.

  3. #3
    Join Date
    Jun 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: static building qt, error: declaration of c function conflicts

    I also have the same problem.
    I found the winbase.h in MinGW but I don't know how to configure it.
    Please explain how to configure it?

  4. #4
    Join Date
    Jul 2010
    Posts
    72
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: static building qt, error: declaration of c function conflicts

    Hi
    From yesterday I begin to have the problem with building Qt projects with mingw32-make in WinXP
    my conf is OK
    Before yesterday all was OK
    I have the next error:
    ../serPortPlot_1/main.cpp: In function 'int qMain(int, char**)':
    ../serPortPlot_1/main.cpp:11: warning: no return statement in function returning non-void
    mingw32-make[1]: Leaving directory `C:/PavelWork/DEV/TEST/serPortPlot_1-build-desktop'
    mingw32-make: Leaving directory `C:/PavelWork/DEV/TEST/serPortPlot_1-build-desktop'
    mingw32-make[1]: *** [debug/main.o] Error -1073741819
    mingw32-make: *** [debug] Error 2
    ?

Similar Threads

  1. QPSQL problem
    By LoneWolf in forum Installation and Deployment
    Replies: 60
    Last Post: 4th November 2009, 14:22
  2. QPSQL driver in windows
    By brevleq in forum Installation and Deployment
    Replies: 31
    Last Post: 14th December 2007, 12:57
  3. how to add static library into qmake
    By Namrata in forum Qt Tools
    Replies: 1
    Last Post: 20th November 2007, 17:33
  4. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  5. I got two problems when I used static compiled library of QT4
    By qintm in forum Installation and Deployment
    Replies: 8
    Last Post: 20th April 2006, 08:52

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.