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. Slots are defined on Windows not work on MAC OS
Forum Updated to NodeBB v4.3 + New Features

Slots are defined on Windows not work on MAC OS

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 2.1k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    BlackJack
    wrote on last edited by
    #1

    Hi all,
    I have an application written him out of Windows, tried to run on MAC OS application starts, but does not work hung on the slots QPushButton in MAC OS does not work. I tried to go to zero under the debugger ...

    on Windows this work.

    Sample code:
    @void Widget::on_b_circleLeft_clicked()
    {
    showMinimized();
    }@

    Any ideas?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      BlackJack
      wrote on last edited by
      #2

      that no one no not any ideas?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Scylla
        wrote on last edited by
        #3

        I'm realy sure the slots are working also on Mac OSX. Did you try a debugger or put a debug output (qDebug() << "my slot";) in your slot and try again. May be the showMinimized() method workes different.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          BlackJack
          wrote on last edited by
          #4

          Yes
          identity in the debugger tried to run, the function does not even comes ...
          as if the event did not happen.

          and no matter what code is inside ... Why do you work all the buttons are very strange I can not understand why. part of the works but not always, part at all.
          And in Windows everything works. in the MAC OS does not want to work.
          Is it possible that the matter in the size of the buttons?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Scylla
            wrote on last edited by
            #5

            All my projects are working also on Mac OSX.
            Do you use the designer for your ui? If so, please delete the ui_*.h files and do a qmake and make again.
            The size of the buttons doesn't matter. Ok they should be clickable ;)

            1 Reply Last reply
            0
            • B Offline
              B Offline
              BlackJack
              wrote on last edited by
              #6

              Yes I am using Designer.
              I can not find the file ui_. *, in the folder with the project it is not.
              where it can be?

              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