Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QTOPIA_ADD_APPLICATION(QTOPIA_TARGET,Dialog1 )
QtWS25 Last Chance

QTOPIA_ADD_APPLICATION(QTOPIA_TARGET,Dialog1 )

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt 5.4qtcreatorqt embeddedqt application
4 Posts 2 Posters 1.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.
  • R Offline
    R Offline
    rondi
    wrote on 22 Jan 2016, 11:48 last edited by
    #1

    im using
    QTOPIA_ADD_APPLICATION(QTOPIA_TARGET,Dialog)
    QTOPIA_MAIN

    how to use

    if(!URL.isEmpty())
    {
    if(!ID.isEmpty())
    {
    S = new Dialog1();
    S->show();
    }
    else
    {
    O = new Dialog2();
    O->show();
    }
    }
    else
    {
    T = new Dialog3();
    T->show();
    }
    in QTOPIA_ADD_APPLICATION(QTOPIA_TARGET,Dialog1 or Dialog2 or Dialog3 depending on function )

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 22 Jan 2016, 23:11 last edited by
      #2

      Hi,

      You can't, QTOPIA_ADD_APPLICATION is a macro not a function call.

      On a side note, are you aware that the last release of Qtopia was 7 years ago ?

      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
      0
      • R Offline
        R Offline
        rondi
        wrote on 23 Jan 2016, 09:47 last edited by
        #3

        Hi @SGaist thanks for reply
        I'm using QTOPIA because i build in PDA Device ,
        i tried to build without QTOPIA but can't call out keyboad , LineEdits are not responsive.
        Any Idea?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 23 Jan 2016, 20:19 last edited by
          #4

          What PDA device ?

          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
          0

          4/4

          23 Jan 2016, 20:19

          • Login

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