Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How do I make a class using Qt for a different environment?
Qt 6.11 is out! See what's new in the release blog

How do I make a class using Qt for a different environment?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 364 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mikeeeeee
    wrote on last edited by
    #1

    Hi!
    I made a class with dialog in Qt for MSVC.
    But in another environment without QApplication a (argc, argv) in main, this doesn't work.
    Please tell me how QApplication is better attached to the class to solve such difficulties?
    It's not works:

        char *argv1{"0x1ee99290"};
        QApplication qq(1,argv1);
    
    1 Reply Last reply
    0
    • semlanikS Offline
      semlanikS Offline
      semlanik
      wrote on last edited by
      #2
      int argc1 = 1;
      char *argv1[]{"0x1ee99290"};
      QApplication qq(argc1, argv1);
      
      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved