Results 1 to 16 of 16

Thread: Global shortcut + other program

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    12
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    8

    Default Re: Global shortcut + other program

    When i was installing qt(regular one) i used msvc and Jom for faster compiling.
    Last edited by deemeetar; 29th September 2009 at 21:08.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Global shortcut + other program

    Hmm, perhaps removing C:\MinGW\bin from PATH and re-running configure helps? Alternatively you could set QMAKESPEC environment variable to "win32-msvc2008", "win32-msvc2005"... depending on the version you use. This way the configure script ends up using nmake as it should.
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    deemeetar (29th September 2009)

  4. #3
    Join Date
    Jul 2009
    Posts
    12
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    8

    Default Re: Global shortcut + other program

    no luck aggain.
    First i removed mingw from the path, like you said.
    Then i runned configure -msvc from the vs2008 cmd, than i tried to make namake:
    Qt Code:
    1. C:\libqxt\libqxt-0.5.0>configure -msvc
    2. Testing for qmake...
    3. Testing for mingw32-make...
    4. Testing for nmake...
    5. Using nmake.
    6. Testing for optional external libraries.
    7. If a test fails, some features will not be available.
    8. Testing for OpenSSL...
    9. OpenSSL disabled.
    10. Testing for Berkeley DB...
    11. Berkeley DB disabled.
    12. Configuration successful.
    13. Generating makefiles...
    14. Project MESSAGE: building core module
    15. Project MESSAGE: building gui module
    16. Project MESSAGE: building network module
    17. Project MESSAGE: building sql module
    18. Project MESSAGE: building web module
    19. Project MESSAGE: building crypto module
    20. Reading C:/libqxt/libqxt-0.5.0/tools/doqsy/doqsy.pro
    21. Reading C:/libqxt/libqxt-0.5.0/src/core/core.pro
    22. Reading C:/libqxt/libqxt-0.5.0/src/gui/gui.pro
    23. Reading C:/libqxt/libqxt-0.5.0/src/designer/designer.pro
    24. Reading C:/libqxt/libqxt-0.5.0/src/network/network.pro
    25. Reading C:/libqxt/libqxt-0.5.0/src/sql/sql.pro
    26. Reading C:/libqxt/libqxt-0.5.0/src/web/web.pro
    27. Reading C:/libqxt/libqxt-0.5.0/src/crypto/crypto.pro
    28. Project MESSAGE: building core module
    29. Project MESSAGE: building gui module
    30. Project MESSAGE: building network module
    31. Project MESSAGE: building sql module
    32. Project MESSAGE: building web module
    33. Project MESSAGE: building crypto module
    34. Project MESSAGE: building core module
    35. Project MESSAGE: building gui module
    36. Project MESSAGE: building network module
    37. Project MESSAGE: building sql module
    38. Project MESSAGE: building web module
    39. Project MESSAGE: building crypto module
    40. Makefiles generated. Run nmake now.
    41.  
    42. C:\libqxt\libqxt-0.5.0>nmake
    43.  
    44. Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
    45. Copyright (C) Microsoft Corporation. All rights reserved.
    46.  
    47. NMAKE : fatal error U1064: MAKEFILE not found and no target specified
    48. Stop.
    To copy to clipboard, switch view to plain text mode 

    Then i added new enviorment, qmakespec just like you said and set it to win32-msvc2008, than ran nmake but the same error occures.

  5. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts

    Default Re: Global shortcut + other program

    Progress. If you pass -msvc, it will create visual studio project files instead of makefiles. Don't pass -msvc if you want to compile from command line with nmake.
    J-P Nurmi

  6. The following user says thank you to jpn for this useful post:

    deemeetar (29th September 2009)

  7. #5
    Join Date
    Jul 2009
    Posts
    12
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    8

    Default Re: Global shortcut + other program

    installed.
    Okay, ill do some work for my app and then will write if i have the sollution. Thank you.

Similar Threads

  1. Segmentation Fault when Program Starts
    By KaptainKarl in forum Newbie
    Replies: 7
    Last Post: 10th September 2009, 09:43
  2. Program crashes on creating new dialog
    By eekhoorn12 in forum Qt Programming
    Replies: 2
    Last Post: 11th June 2009, 12:52
  3. Eclipse Integration and program not starting
    By Cruz in forum Installation and Deployment
    Replies: 1
    Last Post: 16th January 2009, 23:32
  4. Replies: 19
    Last Post: 21st January 2008, 10:13
  5. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 05:19

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.