Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [Solved] fatal error: cannot open program database

[Solved] fatal error: cannot open program database

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 19.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    elemings
    wrote on 30 Nov 2010, 17:15 last edited by
    #1

    When I try to build Qt 4.7.1 for Windows x86 platforms, I regularly encouter the following build error:

    @animation\qpauseanimation.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    animation\qparallelanimationgroup.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    animation\qsequentialanimationgroup.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    animation\qanimationgroup.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    animation\qvariantanimation.cpp : fatal error C1033: cannot open program database 'x:\builds\qt-4.7.1-i686-vs2008\src\corelib\vc90.pdb'
    NMAKE : fatal error U1077: 'X:\Tools\i686-pc-windows-msvc2008\bin\cl.EXE': return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'X:\Tools\i686-pc-windows-msvc2008\bin\nmake.exe' : return code '0x2'
    Stop.@

    For some reason, this only happens with builds for Windows x86 platforms: builds for Windows x64 platforms do not encounter this error. I have almost exausted all possible causes for the problem. Any suggestions?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      elemings
      wrote on 1 Dec 2010, 01:16 last edited by
      #2

      Note, a build of Qt 4.7.0 in the same build environment with the same configuration options does not encounter this error. Something changed in Qt 4.7.1 that causes this.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        blex
        wrote on 1 Dec 2010, 06:14 last edited by
        #3

        Some time ago I faced the same problem in the custom application (not during Qt build). Manual cleaning of all projects (removing of all temporary files and vc90.pdb) helped me.

        What is drive x:? Is it network drive or just "subst"? Try to compile on local drive.

        Also Google says that it may be locale problem. Try to set "en" on you computer just for compilation.


        Oleksiy Balabay

        1 Reply Last reply
        0
        • E Offline
          E Offline
          elemings
          wrote on 1 Dec 2010, 20:41 last edited by
          #4

          [quote author="blex" date="1291184053"]Some time ago I faced the same problem in the custom application (not during Qt build). Manual cleaning of all projects (removing of all temporary files and vc90.pdb) helped me. What is drive x:? Is it network drive or just "subst"? Try to compile on local drive. Also Google says that it may be locale problem. Try to set "en" on you computer just for compilation. [/quote]

          The Qt build directory was cleaned of all non-essential and intermediate build products. The drive is a local drive but it is shared and mapped. I'll try building on an unshared, unmapped drive. I'm not sure how you would set the locale for a Qt build on Windows platforms.

          1 Reply Last reply
          0
          • E Offline
            E Offline
            elemings
            wrote on 2 Dec 2010, 00:44 last edited by
            #5

            Well blex, you were not right but you led me to the answer. It wasn't the drive letter but the VS2008 install. I have been using a non-standard install of VS2008 to compile Qt but it no longer builds Qt 4.7.1 for x86 targets. A standard VS2008 install works fine.

            1 Reply Last reply
            0

            1/5

            30 Nov 2010, 17:15

            • Login

            • Login or register to search.
            1 out of 5
            • First post
              1/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved