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 8006479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:31:39+00:00 2026-06-04T17:31:39+00:00

I have a console application that uses QtCore and QtGui. I do not use

  • 0

I have a console application that uses QtCore and QtGui. I do not use the Qt event loop or create any instances of QApplication; I’m just using Qt’s string, list, and image manipulation functionalities. How do I get the imageformats plugins to load?

This app is on OS X and does not use an application bundle.

I was under the impression that placing the plugin files ./plugins/<pluginfolder>/*.dylib, where . is the directory of the application executable, would do the trick, as according to the deployment documentation “plugins” is the default search directory for plugins relative to the application bundle.

However, the plugins aren’t loading as I’m getting ‘invalid image format’ in my image processing functions. The same functions work on my development machine with the Qt binary package installed.

  • 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-04T17:31:40+00:00Added an answer on June 4, 2026 at 5:31 pm

    Just two ideas:
    Try to search for strings (e.g. “/plugins”) in your Qt-dll using strings | grep or VI. May be that way you’ll find out the plugin directory.
    As I’ve found out, on Windows the plugin-pathes are stored in the DLL as complete pathes during the installation.

    Create an instance of QCoreApplication. Maybe the plugin-loading is triggered from there. Starting event loop shouldn’t be required.

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

Sidebar

Related Questions

I have written a little console application that uses s#arp. I can create an
I have written a C# console application that uses the Interop.domino.dll assembly to interact
I have a console application that uses an app.config file however I can't figure
I have a console application that uses NHibernate and ActiveRecord. I am using the
I have a .Net console application that uses a QueryString that connects to a
I have a library and a console application that uses a library. The library
In a C# console application I have discovered that you can use Console.SetWindowSize(160, 80);
I have a console application that uses a number of command line switches to
I have a console application that uses a database connection string which is defined
I have created a simple c# console application with .net framework 2.0 that uses

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.