Results 1 to 3 of 3

Thread: Problem building QMYSQL

  1. #1
    Join Date
    Oct 2009
    Location
    Brazil
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Problem building QMYSQL

    Hello,

    I'm trying to build QMYSQL, but when i do nmake i get this: qsql_mysql.moc: No such file or directory

    The moc command from the makefile seems to have no error. As i can see on Makefile.Debug it should be creating the .moc file at Debug dir from the project.

    Im running on Windows Vista Business, Qt 4.3.5.

    I was trying to follow the instructions from http://wiki.qtcentre.org/index.php?t...ws_using_MinGW

  2. #2
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Problem building QMYSQL

    Try these instructions:
    http://qt.nokia.com/doc/4.0/sql-driv...gin-on-windows

    Then open Qt command prompt, go to
    \<QT install directory>\qt\src\plugins\sqldrivers\mysql

    I don't have nmake, so I used mingw32-make. I had some problems with long filenames at first, but then figured out the 8.3 filenames.

    hth,
    -a

  3. #3
    Join Date
    Oct 2009
    Location
    Brazil
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem building QMYSQL

    Well, i had already resolved my problem.

    The problem was becuse of the wrong instructions gave by people. Well, maybe incomplete instructions. I was trying nmake because the instructions said to and I don't have make.

    But nmake only work with MS compiled binaries, not the case from the win binaries package. I had to use the mingw32-make and everything works fine.

    Thank you,

Similar Threads

  1. Problem building QMYSQL
    By Eternal in forum Newbie
    Replies: 0
    Last Post: 9th October 2009, 13:50
  2. QMYSQL Problem?
    By baray98 in forum Qt Programming
    Replies: 0
    Last Post: 6th October 2009, 01:13
  3. [QMYSQL] connection problem
    By chaos_theory in forum Installation and Deployment
    Replies: 5
    Last Post: 2nd July 2007, 09:52
  4. Problem building Qt4.1.0 with thread support on windows XP
    By pavithra in forum Installation and Deployment
    Replies: 1
    Last Post: 1st April 2006, 11:35
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.