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

  • Home
  • SEARCH
  • 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 9163295
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:24:46+00:00 2026-06-17T14:24:46+00:00

I am using Qt Designer 4.8.4 and I include two files in the QMainWindow

  • 0

I am using Qt Designer 4.8.4 and I include two files in the QMainWindow resource file: a .ico file and a .gif file. When loading from code using:

QPixmap p;
p.load(":/MyApp/media/logo.gif");  // does work
p.load(":/MyApp/media/logo.ico");  // does not work

The gif file works, but not the ico file. Is there any reason? I am using the ico file as the window icon and it is not showing when running the application.

And, YES, I am successfully compiling the qrc file since the GIF file is working.

Cheers,

  • 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-17T14:24:47+00:00Added an answer on June 17, 2026 at 2:24 pm

    *.ico is not supported.

    By default, Qt supports the following formats:

    Format Description Qt’s support

    BMP Windows Bitmap Read/write

    GIF Graphic Interchange Format (optional) Read

    JPG Joint Photographic Experts Group Read/write

    JPEG Joint Photographic Experts Group Read/write

    PNG Portable Network Graphics Read/write

    PBM Portable Bitmap Read

    PGM Portable Graymap Read

    PPM Portable Pixmap Read/write

    TIFF Tagged Image File Format Read/write

    XBM X11 Bitmap Read/write

    XPM X11 Pixmap Read/write

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

Sidebar

Related Questions

There are two XSL files. One includes another using an <xsl:include> . The main
I am using EF4 with the EDM designer. I have two tables : Users
Consider this piece of code: #include <vector> #include <iostream> using namespace std; class Base
I want to minimize a repeated php code using function, I am a designer
As I get some problem with integrating Html code from designer work in Gxt,
Can I include a file from a subdirectory, but have it placed in the
I am currently building a small visual designer using the Netbeans Platform. All my
So i created a web site a long time ago using a designer alot
I am working on python plugins.I designed my form using pyqt4 designer. I used
I'm currently working on an app that is being created using Ironspeed Designer. It's

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.