Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Im still not clear on this qtmaind.lib(qtmain_win.obj):-1: warning: LNK4099: PDB 'vc90.pdb' was not found with... issue
Forum Updated to NodeBB v4.3 + New Features

Im still not clear on this qtmaind.lib(qtmain_win.obj):-1: warning: LNK4099: PDB 'vc90.pdb' was not found with... issue

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 3 Posters 9.6k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    Benzin
    wrote on last edited by
    #1

    Hello folks, ibe been a developer for many years, but ibe been away from C++ for many years (been working in .net). i just installed the latest Qt SDK, using Qt Creator for learning (and so far im liking it even move that vs2008!!), but even thoug ibe searched a lot, i cannot get a clear answer for this issue.
    when ever i try to build using the debug version of my app using vc compiler, i get a warning:
    @bq. qtmaind.lib(qtmain_win.obj):-1: warning: LNK4099: PDB 'vc90.pdb' was not found with 'c:\QtSDK\Desktop\Qt\4.7.4\msvc2008\lib\qtmaind.lib' or at 'D:\Ernesto\Code\cpp\tutorial1\Splitter01-build-desktop-Qt_4_7_4_for_Desktop_-_MSVC2008__Qt_SDK__Debug\debug\vc90.pdb'; linking object as if no debug info@

    I have looked arround a lot, but found no definitive answer. Is this a bug on Qt creator? a bad configuration on my part?
    I just want to know if it is in fact a bug in qt creator, so i can stop scratching my head :) or if im doing something wrong, so i can fix it.

    thanks for your help, and im glad to have discovered Qt, and Qt Creator!

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      This is not limited to users of qt creator. I am using msvc 2005 and I get a similar warning when doing a cross-compilation for wince. Those libs I have comiled myself.
      When I do compile a standard win bdebug version I am linking against a commercial version of qt and I do not see the warning.
      So far I have not worried too much about. I can debug the cross-compiled application as good as the standard win ones. So far never a drawback.
      My assumption was so far, that the vcx0.pdb is being deleted along with the obj files when cleaning up.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • B Offline
        B Offline
        Benzin
        wrote on last edited by
        #3

        Hello, and thanks for your reply.
        I assumed it was a Qt Creator issue because before i decided on using creator, i installed the Qt libraries + the Visual Studio addin (since i allready use VS for my C# development), and i dint get that warning there.
        Then i noticed that Visual Studio's code completion features (intellisense) are terrible with Qt (i do not own a license for visual assist x), and decided to give Qt Creator a try. So i uninstalled Qt libraries and VS addin, downloaded & installed the full Qt Sdk, and to my surprise, Qt Creator is EXCELLENT. except i got that warning on every debug build.
        So you recommend i just ignore that warning?

        thanks

        1 Reply Last reply
        0
        • G Offline
          G Offline
          giesbert
          wrote on last edited by
          #4

          Hi,

          this warning pop's up, as qtmain is not a dll, it's a static lib. The debug info is compiled into vc90.pdb, which is (mostly) not in the sarch path or not on the disk. As qtmain contains the real main() (yours gets renamed to qMain) it is needed befor you enter your main function. I'm afraid, it's not possible to disable the warning before MSVS 2010.

          I typically ignore it as it only means, you have no debug info for the stuff, BEFORE and AFTER your main, and that part, I typically don't debug :-)

          Nokia Certified Qt Specialist.
          Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

          1 Reply Last reply
          0
          • B Offline
            B Offline
            Benzin
            wrote on last edited by
            #5

            Hi Gerolf, and thanks for your reply.
            Ill just ignore the warning then :)

            1 Reply Last reply
            0

            • Login

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