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. My program doesn't show up in my enterprise device while in pc does

My program doesn't show up in my enterprise device while in pc does

Scheduled Pinned Locked Moved Solved General and Desktop
qwizardpagedevicesqt 4.8.5
23 Posts 3 Posters 7.4k 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 11 Feb 2016, 17:06 last edited by
    #12

    What did you have to switch ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    K 1 Reply Last reply 11 Feb 2016, 17:08
    0
    • S SGaist
      11 Feb 2016, 17:06

      What did you have to switch ?

      K Offline
      K Offline
      kshegunov
      Moderators
      wrote on 11 Feb 2016, 17:08 last edited by
      #13

      @SGaist
      Hello, look up posts #2 and #4. He had switched:

       connect(my_combobox, SIGNAL(currentIndexChanged(int)), this, SLOT(SetSomeLabels(int)));
       LoadXMLInfo();
      

      to make it work, although I see no logical reason not to work in the original order.

      Read and abide by the Qt Code of Conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 11 Feb 2016, 20:34 last edited by
        #14

        I also don't see any reason either.

        However, one thing I usually do is to setup widgets and connection and then trigger data/settings loading once everything is done or even right after the event loop as started using e.g. a QTimer with a 0 timeout.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        K 1 Reply Last reply 11 Feb 2016, 20:36
        0
        • S SGaist
          11 Feb 2016, 20:34

          I also don't see any reason either.

          However, one thing I usually do is to setup widgets and connection and then trigger data/settings loading once everything is done or even right after the event loop as started using e.g. a QTimer with a 0 timeout.

          K Offline
          K Offline
          kshegunov
          Moderators
          wrote on 11 Feb 2016, 20:36 last edited by kshegunov 2 Nov 2016, 20:37
          #15

          @SGaist
          To be honest I've never found any use for single shot timers with 0 timeout. Although, this depends on a personal preference I have always used QMetaObject::invokeMethod with Qt::QueuedConnection for such purposes. :)

          Read and abide by the Qt Code of Conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 11 Feb 2016, 20:50 last edited by
            #16

            QTimer is higher level and a bit clearer for people not going in the lower levels of Qt. But in the end, yes both have the same effects.

            Also, invokeMethod doesn't have any overload for lambdas

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            K 1 Reply Last reply 11 Feb 2016, 20:51
            0
            • S SGaist
              11 Feb 2016, 20:50

              QTimer is higher level and a bit clearer for people not going in the lower levels of Qt. But in the end, yes both have the same effects.

              Also, invokeMethod doesn't have any overload for lambdas

              K Offline
              K Offline
              kshegunov
              Moderators
              wrote on 11 Feb 2016, 20:51 last edited by kshegunov 2 Nov 2016, 20:52
              #17

              @SGaist

              Also, invokeMethod doesn't have any overload for lambdas

              True, however you can pass arguments with it. And lambdas I can't remember needing really. ;)

              Read and abide by the Qt Code of Conduct

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 11 Feb 2016, 20:54 last edited by
                #18

                Yup, good point.

                For lambdas ? Two main things comes to mind for Qt: real private slots and processing of QNetworkReply :)

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                K 1 Reply Last reply 11 Feb 2016, 20:57
                0
                • S SGaist
                  11 Feb 2016, 20:54

                  Yup, good point.

                  For lambdas ? Two main things comes to mind for Qt: real private slots and processing of QNetworkReply :)

                  K Offline
                  K Offline
                  kshegunov
                  Moderators
                  wrote on 11 Feb 2016, 20:57 last edited by kshegunov 2 Nov 2016, 20:58
                  #19

                  @SGaist

                  For lambdas ? Two main things comes to mind for Qt: real private slots and processing of QNetworkReply :)

                  Q_PRIVATE_SLOT works wonders for me, although I could appreciate one wanting to use lambdas for it. QNetworkReply I've never used, only raw TCP/UDP connections ... I guess, I'm pretty old school ... :)

                  Read and abide by the Qt Code of Conduct

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 11 Feb 2016, 21:18 last edited by
                    #20

                    @kshegunov said:

                    Q_PRIVATE_SLOT

                    AFAIK, works only if you also use the PIMPL idiom, which is not the most common case.

                    QNetworkAccessManager is a good tool when you want to write a layer to access a REST service. You use what best fits your needs :)

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    1
                    • R Offline
                      R Offline
                      roseicollis
                      wrote on 15 Feb 2016, 17:23 last edited by
                      #21

                      wow! I've learned a lot with this little conversation, thank you so much! (Even if i don't understand everything but I'll take a look on it calmly later :D)

                      @kshegunov I'm not "he" , I'm "she" ;) but don't worry haha

                      I think I'll close this topic as I see that what happened is not normal but is difficult to know why happened so, don't worry about that :) (and of course because I have to move on and finish what I'm doing )

                      Thank you @SGaist and @kshegunov ^^

                      K 1 Reply Last reply 15 Feb 2016, 17:27
                      0
                      • R roseicollis
                        15 Feb 2016, 17:23

                        wow! I've learned a lot with this little conversation, thank you so much! (Even if i don't understand everything but I'll take a look on it calmly later :D)

                        @kshegunov I'm not "he" , I'm "she" ;) but don't worry haha

                        I think I'll close this topic as I see that what happened is not normal but is difficult to know why happened so, don't worry about that :) (and of course because I have to move on and finish what I'm doing )

                        Thank you @SGaist and @kshegunov ^^

                        K Offline
                        K Offline
                        kshegunov
                        Moderators
                        wrote on 15 Feb 2016, 17:27 last edited by
                        #22

                        @roseicollis

                        I'm not "he" , I'm "she" ;) but don't worry haha

                        I'm sorry, unfortunately there's almost no way to deduce that in English, so please allow amicably for such misunderstandings ... :)

                        Kind regards.

                        Read and abide by the Qt Code of Conduct

                        1 Reply Last reply
                        0
                        • R Offline
                          R Offline
                          roseicollis
                          wrote on 17 Feb 2016, 10:05 last edited by
                          #23

                          @kshegunov I know I know ^^and normally I don't pay much attention to this but.. this time wanted to point it out... dunno why hahahaso as I said np and code happily!! :D

                          1 Reply Last reply
                          0

                          21/23

                          15 Feb 2016, 17:23

                          • Login

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