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. Help about develop & compile Qt source (ROM Backup Splitter)
Forum Updated to NodeBB v4.3 + New Features

Help about develop & compile Qt source (ROM Backup Splitter)

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 3 Posters 2.6k 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
    bovirus
    wrote on last edited by A Former User
    #1

    Hi.

    I revise an app made from a russian guy (from 4pda forum) to split the ROM image of Mediatek chinese phones.

    The app is attached here.

    I made already some changes but I try (without positive result) to add some small features

    Add in the main caption text the version of the app (that I can ad in other place as variable)

    Add in main caption text value of system local settings (ex. en_us for American, en_gb for British and so on). It's useful for translator to check exactly the region code suffix to add to language file translation.

    I already made some changes and I tried to compile it using QT SDK 5.8.0 and MS Visual C++ 2014 (32bit).
    I installed SDK for Visual C++ and Visual C+ 2014 32bit Community.
    All it work as debug compilation and run.
    I cannot build the standalone app.
    When i run the exe file built it reported me missing libraries or errors.
    How can detect what are the library to include and how to include them?
    Anyone can help me?

    Thanks. Bye.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and welcome

      -I cannot build the standalone app.

      you mean when you double click it ?

      to use the resulting .exe , you need a deployment folder
      https://forum.qt.io/topic/75590/how-to-publish-an-app

      If you mean something else , please explain.

      http://www.dependencywalker.com/
      Can be used to check missing DLLS.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bovirus
        wrote on last edited by
        #3

        Thanks for dependency walker. I will try to use it.

        I tried to explain better my problem..

        If inside in QT Creator I made build it works (no errors).
        If inside QT Creator I select "Run", it works and I can test the app.

        If i get the exe file created by Creator -> Build, and copy the exe file, and I use it in a PC without QT SDK / Visual C++, I got a message error regarding missing library.

        You can find source here

        https://drive.google.com/open?id=0ByL-fx0GbfuiRDhTS2xSakRyNHc

        If you can help me to compile and to add the function that I posted I say thank you.

        mrjjM 1 Reply Last reply
        0
        • B bovirus

          Thanks for dependency walker. I will try to use it.

          I tried to explain better my problem..

          If inside in QT Creator I made build it works (no errors).
          If inside QT Creator I select "Run", it works and I can test the app.

          If i get the exe file created by Creator -> Build, and copy the exe file, and I use it in a PC without QT SDK / Visual C++, I got a message error regarding missing library.

          You can find source here

          https://drive.google.com/open?id=0ByL-fx0GbfuiRDhTS2xSakRyNHc

          If you can help me to compile and to add the function that I posted I say thank you.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @bovirus
          Hi
          There is nothing wrong. You just need to make a deployment folder and it works.

          http://www.tripleboot.org/?p=138

          section
          "Visual Studio 2013 32-bit and 64-bit OpenGL compilers:"

          You might also need the Visual C++ 2014 (32bit) on some windows as it might be older the version
          installed.

          There is also a tool to help
          http://doc.qt.io/qt-5/windows-deployment.html

          • How can detect what are the library to include and how to include them?

          I assume you didn't already build a deployment folder?

          B 1 Reply Last reply
          2
          • mrjjM mrjj

            @bovirus
            Hi
            There is nothing wrong. You just need to make a deployment folder and it works.

            http://www.tripleboot.org/?p=138

            section
            "Visual Studio 2013 32-bit and 64-bit OpenGL compilers:"

            You might also need the Visual C++ 2014 (32bit) on some windows as it might be older the version
            installed.

            There is also a tool to help
            http://doc.qt.io/qt-5/windows-deployment.html

            • How can detect what are the library to include and how to include them?

            I assume you didn't already build a deployment folder?

            B Offline
            B Offline
            bovirus
            wrote on last edited by
            #5

            @mrjj

            Thanks.
            Could you help me with other changes requested?
            How to implemnet win the window caption 8window title)

            • the evrsion of the program
            • Local system value

            Thnaks.

            jsulmJ 1 Reply Last reply
            0
            • B bovirus

              @mrjj

              Thanks.
              Could you help me with other changes requested?
              How to implemnet win the window caption 8window title)

              • the evrsion of the program
              • Local system value

              Thnaks.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @bovirus Use http://doc-snapshots.qt.io/qt5-5.8/qwidget.html#windowTitle-prop to change window title, you can set what ever you want as window title:

              ui->mainWindow->setWindowTitle("MyApp 1.0.0");
              

              What is "Local system value"?

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              mrjjM 1 Reply Last reply
              1
              • jsulmJ jsulm

                @bovirus Use http://doc-snapshots.qt.io/qt5-5.8/qwidget.html#windowTitle-prop to change window title, you can set what ever you want as window title:

                ui->mainWindow->setWindowTitle("MyApp 1.0.0");
                

                What is "Local system value"?

                mrjjM Offline
                mrjjM Offline
                mrjj
                Lifetime Qt Champion
                wrote on last edited by
                #7

                I think it might be
                QString defaultLocale = QLocale::system().name(); // e.g. "de_DE"

                Taken from
                http://wiki.qt.io/How_to_create_a_multi_language_application

                1 Reply Last reply
                1

                • Login

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