Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9025747
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:21:06+00:00 2026-06-16T06:21:06+00:00

I have a C++ application which uses the Core, GUI and Network modules of

  • 0

I have a C++ application which uses the Core, GUI and Network modules of Qt 4.x. It calls python callbacks when the user does certain actions, the point being that the user can customize these callbacks by writing python code.

When I try to import the QtNetwork module from PySide within a callback like this :

from PySide import QtNetwork

I get the following error :

dll load failed : the specified procedure could not be found

Note that I don’t get the error when I import the QtCore and QtGui modules.

I used dependency walker to try to figure out the issue.
When the application starts, it loads QtCore4.dll, QtGui4.dll and QtNetwork4.dll which are the C++ Qt DLLs placed in my application’s directory.
When I trigger a callback to my python code that imports QtNetwork from PySide, it loads QtNetwork.pyd and then gives me the error :

LoadLibraryExA("C:\Dev\Python27\lib\site-packages\PySide\QtNetwork.pyd", 0x00000000, LOAD_WITH_ALTERED_SEARCH_PATH) returned NULL. Error: the specified procedure could not be found (127).

My dependency tree of QtNetwork.pyd :
dependency tree of QtNetwork.pyd
seems to indicate that it uses the already loaded C++ DLLs instead of the PySide ones. I guess that is because their name are identical.
Is there a way to make it load the right DLLs (the ones in the c:\dev\python27\lib\site_package\pyside\ directory )?
Also, why doesn’t this conflict matters with QtCore and QtGui ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T06:21:08+00:00Added an answer on June 16, 2026 at 6:21 am

    First of all, check if your QTNETWORK4.DLL satisfy requirements:

    • is for your architecture
    • have the same version as your Qt libs, using witch you compile your program
    • is compiled by the same compiler

    Best way is just copy libs you need from Qt’s bin directory to your build directory.

    So, I think this conflict matters only with QTNETWORK4.DLL because this lib has some other version (don’t satisfy requirements above).

    The way to make it load right DLLs is to add to your path environment variable path to your Qt’s bin directory, and delete DLLs from your programs directory — so, it can find needed libs from path.

    Hope it helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a core data application which uses a navigation controller to drill down
Environment: xcode 3.2.1, document-based core-data application. I have a document-based cocoa app which uses
I have a Core Data application, which uses NSSQLiteStoreType as a persistent store. This
We have implemented JUnit4 in our application which uses Spring core & JPA with
I have application which uses Sherlock ActionBar package. The application uses platform-specific behavior for
I have an application which uses the microsoft kinect device. The thing is that
I have an application which uses code that produces various types of objects and
I have an application which uses JSPs and Servlets and deployed on IBM-WASCE 2.1.
I have a web application which uses the globalization values being passed from sql
I have a little application which uses regular expressions under VB6. It works perfectly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.