Results 1 to 5 of 5

Thread: Need Help In Linking Plugins to Qt

  1. #1
    Join Date
    Jun 2015
    Posts
    3
    Qt products
    Qt4 Qt5
    Platforms
    Windows Symbian S60 Android

    Default Need Help In Linking Plugins to Qt

    Hello Friends.
    I am completely new to Qt(Qute).I am using Qt 4.7.4. Currently i am developing a test game(QML based). For compiling and using QmlBox2D physics engine, i referred this [WIKI]https://wiki.qt.io/Build-QML-Box2D-Library[/WIKI] article. As mentioned in this article, i didn't got any *.so file after building but getting *.dll files. When i start programming it doesnt show any errors but when i compile it throws "module import Box2D 2.0 is not installed."

    I don't know what to do & what mistake i made. It would be really helpful if someone provide step by step(bcoz completely new) instruction on how to solve it.

    Sorry for my bad english & Thanks in Advance.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Need Help In Linking Plugins to Qt

    You are getting .dll (dynamic link library) files becuase you are building on Windows. The .so (shared object) files are what you get on a UNIX-like OS.

    Do the simple instructions in the source README file help? They seem far more straightforward than the wiki page.

  3. #3
    Join Date
    Jun 2015
    Posts
    3
    Qt products
    Qt4 Qt5
    Platforms
    Windows Symbian S60 Android

    Default Re: Need Help In Linking Plugins to Qt

    Sorry for late reply(i was not in home town).

    Thank you for Replying ChrisW67.
    I followed the README steps. But again it gives

    :-1: error: [install_target] Error 1 (ignored)

    Here is the Output

    10:06:48: Running build steps for project box2d...
    10:06:48: Configuration unchanged, skipping qmake step.
    10:06:49: Starting: "C:\QtSDK\mingw\bin\mingw32-make.exe"
    C:/QtSDK/mingw/bin/mingw32-make.exe -f Makefile.Debug
    mingw32-make.exe[1]: Entering directory `C:/QtSDK/Desktop/Qt/4.7.4/mingw/imports/qml-box2d-qml-box2d'
    mingw32-make.exe[1]: Nothing to be done for `first'.
    mingw32-make.exe[1]: Leaving directory `C:/QtSDK/Desktop/Qt/4.7.4/mingw/imports/qml-box2d-qml-box2d'
    10:06:49: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited normally.
    10:06:49: Starting: "C:\QtSDK\mingw\bin\mingw32-make.exe" install
    C:/QtSDK/mingw/bin/mingw32-make.exe -f Makefile.Debug install
    mingw32-make.exe[1]: Entering directory `C:/QtSDK/Desktop/Qt/4.7.4/mingw/imports/qml-box2d-qml-box2d'
    copy /y "debug\Box2Dd.pdb" "c:\QtSDK\Desktop\Qt\4.7.4\mingw\imports\Box2D\Box 2Dd.pdb"
    The system cannot find the file specified.
    copy /y "debug\Box2Dd.dll" "c:\QtSDK\Desktop\Qt\4.7.4\mingw\imports\Box2D\Box 2Dd.dll"
    mingw32-make.exe[1]: [install_target] Error 1 (ignored)
    1 file(s) copied.
    copy /y c:\QtSDK\Desktop\Qt\4.7.4\mingw\imports\qml-box2d-qml-box2d\qmldir c:\QtSDK\Desktop\Qt\4.7.4\mingw\imports\Box2D
    1 file(s) copied.
    mingw32-make.exe[1]: Leaving directory `C:/QtSDK/Desktop/Qt/4.7.4/mingw/imports/qml-box2d-qml-box2d'
    10:06:50: The process "C:\QtSDK\mingw\bin\mingw32-make.exe" exited normally.

    Any Help.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Need Help In Linking Plugins to Qt

    The library is assuming that it is built with Microsoft's compiler and trying to copy a debug symbol file that compiler would produce (the pdb files) . MingW does not produce these files.

    You could adjust the pro file to not try to install the pdb. However, it looks like that failure was ignored anyway and the overall process succeeded.

  5. #5
    Join Date
    Jun 2015
    Posts
    3
    Qt products
    Qt4 Qt5
    Platforms
    Windows Symbian S60 Android

    Default Re: Need Help In Linking Plugins to Qt

    Once again Thank you Bro for your kind Reply.
    I successfully Compiled and Installed the Libraries through Command Prompt by setting 'path' variables to Qtcreator->Mingw->bin and Qt->version->Mingw->bin and executing the following command

    @ qmake && mingw32-make --always-make -install @

    It successfully compiled and installed the plugins to qml Import Paths.
    On importing module in qt qml project it says Dumped Plugins Successfully and also suggests the Keywords while typing..... but when i compile it says module "Box2D" is not installed . Screenshot (11).jpg . I dont know why these things happen.

    AnyHelp Regarding This.
    Thanx in Advance.

Similar Threads

  1. Replies: 17
    Last Post: 2nd January 2011, 17:11
  2. MacOS linking plugins
    By Annihilator in forum Installation and Deployment
    Replies: 0
    Last Post: 9th June 2010, 09:12
  3. Mac OS, plugins that user designer plugins
    By Royceybaby in forum Qt Programming
    Replies: 0
    Last Post: 9th May 2010, 01:40
  4. Program not linking with static image plugins
    By andyp in forum Qt Programming
    Replies: 7
    Last Post: 8th December 2009, 10:15
  5. linking plugins
    By themolecule in forum Qt Programming
    Replies: 0
    Last Post: 20th July 2008, 22:47

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.