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?

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.
  • MhM93M Offline
    MhM93M Offline
    MhM93
    wrote on 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
    • Hamed.MasafiH Offline
      Hamed.MasafiH Offline
      Hamed.Masafi
      wrote on 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 last edited by
        #3

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

        MhM93M 1 Reply Last reply
        0
        • L Leonardo

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

          MhM93M Offline
          MhM93M Offline
          MhM93
          wrote on last edited by
          #4

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

          H.Ghassami

          KambizK L 2 Replies Last reply
          0
          • MhM93M MhM93

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

            KambizK Offline
            KambizK Offline
            Kambiz
            wrote on 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
            • MhM93M MhM93

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

              L Offline
              L Offline
              Leonardo
              wrote on 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

              MhM93M 1 Reply Last reply
              0
              • L Leonardo

                @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

                MhM93M Offline
                MhM93M Offline
                MhM93
                wrote on last edited by
                #7

                @Leonardo : thanks.
                @Kambiz : thanks

                H.Ghassami

                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