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. Is Qstring worked on ARM device?
QtWS25 Last Chance

Is Qstring worked on ARM device?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
mini2440
7 Posts 4 Posters 1.9k 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
    MhM93
    wrote on 21 Nov 2015, 06:58 last edited by SGaist
    #1

    Hi. I want to send Unicode ( Persian ) sms with my ARM (mini2440) .
    i test my program from my PC with Ubuntu OS. my program is worked well, but in (mini2440)
    ARM not worked.
    this is my code to convert Unicode to hex value :

    if (TextisUnicode(text))
    {
    QString qstr=QString::fromStdString(text);
    QChar ch;
    for (i = 0 ; i<qstr.length();i++)
    {
    ch=qstr.at(i);
    t = ch.unicode();
    out1 = out1 + HexToStr(t/256);
    out1 = out1 + HexToStr(t%256);
    }

    }

    but this is not worked in mini2440!!! there is no error. it sends me an sms with wrong characters.

    H.Ghassami

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hamed.Masafi
      wrote on 21 Nov 2015, 13:52 last edited by
      #2

      QString works on every platform that Qt can run. Your problem is nor related to Qt, check PDU creation algorithm.

      Remote object sharing (OO RPC)
      http://forum.qt.io/topic/60680/remote-object-sharing-oo-rpc-solved

      Advanced, Powerful and easy to use ORM for Qt5
      https://forum.qt.io/topic/67417/advanced-powerful-and-easy-to-use-orm-for-qt5

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Leonardo
        wrote on 22 Nov 2015, 23:39 last edited by
        #3

        Make sure the ICU library was available when you compiled Qt.

        M 1 Reply Last reply 23 Nov 2015, 05:27
        0
        • L Leonardo
          22 Nov 2015, 23:39

          Make sure the ICU library was available when you compiled Qt.

          M Offline
          M Offline
          MhM93
          wrote on 23 Nov 2015, 05:27 last edited by
          #4

          @Leonardo : thanks. but what is ICU library? and how to check it?

          H.Ghassami

          K L 2 Replies Last reply 23 Nov 2015, 06:49
          0
          • M MhM93
            23 Nov 2015, 05:27

            @Leonardo : thanks. but what is ICU library? and how to check it?

            K Offline
            K Offline
            Kambiz
            wrote on 23 Nov 2015, 06:49 last edited by
            #5

            @MhM93

            Hi,
            You should have ICU file on side your project : icuin54, icuuc54 and icudt54

            .:.We speak a universal language that brings us together.:.

            1 Reply Last reply
            0
            • M MhM93
              23 Nov 2015, 05:27

              @Leonardo : thanks. but what is ICU library? and how to check it?

              L Offline
              L Offline
              Leonardo
              wrote on 23 Nov 2015, 13:36 last edited by Leonardo
              #6

              @MhM93 ICU is the library that adds Unicode support to Qt. You can check whether it's available at the end of the configure script.

              Support enabled for:
              Accessibility .......... yes
              ALSA ................... no
              CUPS ................... no
              Evdev .................. no
              FontConfig ............. no
              FreeType ............... qt
              Glib ................... no
              GStreamer .............. no
              GTK theme .............. no
              HarfBuzz ............... yes (bundled copy)
              Iconv .................. no
              ICU .................... no
              Image formats:
              GIF .................. no
              JPEG ................. yes (in QtGui, using bundled copy)
              PNG .................. yes (in QtGui, using bundled copy)
              journald ............... no

              M 1 Reply Last reply 25 Nov 2015, 05:26
              0
              • L Leonardo
                23 Nov 2015, 13:36

                @MhM93 ICU is the library that adds Unicode support to Qt. You can check whether it's available at the end of the configure script.

                Support enabled for:
                Accessibility .......... yes
                ALSA ................... no
                CUPS ................... no
                Evdev .................. no
                FontConfig ............. no
                FreeType ............... qt
                Glib ................... no
                GStreamer .............. no
                GTK theme .............. no
                HarfBuzz ............... yes (bundled copy)
                Iconv .................. no
                ICU .................... no
                Image formats:
                GIF .................. no
                JPEG ................. yes (in QtGui, using bundled copy)
                PNG .................. yes (in QtGui, using bundled copy)
                journald ............... no

                M Offline
                M Offline
                MhM93
                wrote on 25 Nov 2015, 05:26 last edited by
                #7

                @Leonardo : thanks.
                @Kambiz : thanks

                H.Ghassami

                1 Reply Last reply
                0

                1/7

                21 Nov 2015, 06:58

                • Login

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