Bienvenue, Invité
Nom d'utilisateur : Mot de passe : Se souvenir de moi
26 Sep 2020
No bulk downloads - PLEASE! THIS IS OVERLOADING OUR SERVER AND DENYING ACCESS TO COMMUNITY USERS
SVP - Pas de téléchargement en masse ! Cela surcharge le serveur et empêche la communauté d'utilisateurs d'accéder aux données
_______________________________
WE WILL BLOCK IP'S THAT ARE BULK DOWNLOADING! Nous bloquerons les IPs des personnes qui agissent de la sorte.
PLEASE GO DIRECTLY TO THE GRIB PRODUCERS (NOAA, DWD...) FOR BULK DOWNLOADS. Allez chercher les données directement à la source (NOAA, DWD ...)
Lire la suite ...
  • Page :
  • 1

SUJET :

Problem with menu bar when developing new version il y a 3 ans 11 mois #733

  • Jproj
  • Portrait de Jproj Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
  • Messages : 2
  • Remerciements reçus 0
First thank you for sharing this fantastic tool.
I'have made some adaptations in MAC OS environment for gliding purpose (display of height data from Arome model and integration of elevation data).
Everything works well except I have realized that sometimes several menus are missing in the menu bar (it could reappear if the language is changed). I have the same issue even with the native version 1.2.6 which is installed as well on my computer. (I'm working in parallel on a development app 1.2.7).
I'm not really an expert of C++ and QTranslation but I think something is wrong with the translation. Do you know how I can proceed to regenerate the .ts file when some *.cpp files have been modified? It is strange because even if I remove the tr() method sometimes it works sometimes not depending how I write the menu text.
It affect in particular the Options menu ->Internet parameters and Graphical parameters & Weather Map -> Weather options, for an unknown reason.
Do you have any idea of the problem and how to solve it?
Best regards
Jérôme

Connexion pour participer à la conversation.

Problem with menu bar when developing new version il y a 3 ans 11 mois #736

Hi,
MacOS will move some menu options into the OS menus if the names are common like "Options". They menu items exist but under the OS menus and not the XyGrib menus. If the name of the menu is set differently in the translation file, i.e. "Weather Options", then the OS sees the menu item as belonging to the software package and not as a common OS menu item -- and it will appear where expected.
Try to use names that are not common with the Mac OS.
David

Connexion pour participer à la conversation.

Problem with menu bar when developing new version il y a 3 ans 11 mois #738

  • Jproj
  • Portrait de Jproj Auteur du sujet
  • Hors Ligne
  • Nouveau membre
  • Nouveau membre
  • Messages : 2
  • Remerciements reçus 0
Thank you for your answer. It works when I change the name. So it means that I have to update the translation file .ts (since I have modified the code in the *.cpp files). Do you know what is the simplest way to do it ? So how can I regenerate the ts files ?

In addition I have realized that I can only create Xgryb.app. The compilation works but I have some issues to deploy the package on the Mac.
When I execute /usr/local/opt/qt5/bin/macdeployqt/XyGrib.app -verbose=2
I have the following error:
WARNING: Could not find any external Qt frameworks to deploy in "XyGrib.app"
WARNING: Perhaps macdeployqt was already used on "XyGrib.app" ?
WARNING: If so, you will need to rebuild "XyGrib.app" before trying again.

Maybe it is obvious for you but not for me, do you have any advices for the deployment ?
And the tool repogen is not found on my computer.

Connexion pour participer à la conversation.

Problem with menu bar when developing new version il y a 3 ans 11 mois #739

Hi,
Best path to take is to install Qt on your Mac and build the app in the Qt environment.
The Qt documentation gives good instructions on building for MacOS within Qt. There is a utility for Mac that grabs all the dependencies and packages them with the deployed app.
There is also documentation regarding language generation. There are two utilities for this and they get installed when you install the Qt package.
David

Connexion pour participer à la conversation.

  • Page :
  • 1
Temps de génération de la page : 0.043 secondes

Le téléchargement des fichiers mis à disposition sur le serveur openGribs via XyGrib et l'application elle-même resteront toujours libres et gratuits. Cependant, les coûts de fonctionnement des 3 serveurs en cloud sont significatifs, en particulier ceux liés à la bande passante.

Chaque contribution, même modeste, est très utile à garantir le bon fonctionnement du site et des serveurs. Si vous considérez XyGrib et les fichiers téléchargés utiles, merci de soutenir openGribs et XyGrib.

 

Merci de votre soutien

Aller au haut