[Development] Android and Qt

2014-04-11 Thread Majid Khan
Hi Team, I am seeing following error when deploying app to android device.
I see no issues when deploying locally

W/dalvikvm(32296): threadid=1: thread exiting with uncaught exception
(group=0x4178e8b0)

E/AndroidRuntime(32296): FATAL EXCEPTION: main

E/AndroidRuntime(32296): java.lang.UnsatisfiedLinkError: Couldn't load
SimpleChat from loader dalvik.system.PathClassLoader[DexPathList[[zip file
/data/app/org.qtproject.example.SimpleChat-1.apk],nativeLibraryDirectories=[/data/app-lib/org.qtproject.example.SimpleChat-1,
/vendor/lib, /system/lib]]]: findLibrary returned null

E/AndroidRuntime(32296): at java.lang.Runtime.loadLibrary(Runtime.java:355)

E/AndroidRuntime(32296): at java.lang.System.loadLibrary(System.java:525)

E/AndroidRuntime(32296): at
org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:239)

E/AndroidRuntime(32296): at
org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:629)

E/AndroidRuntime(32296): at
org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:858)

E/AndroidRuntime(32296): at
android.app.Activity.performCreate(Activity.java:5133)

E/AndroidRuntime(32296): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)

E/AndroidRuntime(32296): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2230)

E/AndroidRuntime(32296): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2316)

E/AndroidRuntime(32296): at
android.app.ActivityThread.access$600(ActivityThread.java:150)

E/AndroidRuntime(32296): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1298)

E/AndroidRuntime(32296): at
android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime(32296): at android.os.Looper.loop(Looper.java:213)

E/AndroidRuntime(32296): at
android.app.ActivityThread.main(ActivityThread.java:5225)

E/AndroidRuntime(32296): at java.lang.reflect.Method.invokeNative(Native
Method)

E/AndroidRuntime(32296): at java.lang.reflect.Method.invoke(Method.java:525)

E/AndroidRuntime(32296): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:741)

E/AndroidRuntime(32296): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)

E/AndroidRuntime(32296): at dalvik.system.NativeStart.main(Native Method)

I/Process (32296): Sending signal. PID: 32296 SIG: 9



'org.qtproject.example.SimpleChat' died.




-- Any idea what that could be and how to resolve this?


Thanks

Majid Khan
http://easylogging.org http://www.easylogging.org
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Creator build fails

2013-03-01 Thread Majid Khan
Great! Thanks :)


On Fri, Mar 1, 2013 at 8:33 PM, Tobias Nätterlund 
tobias.naetterl...@kdab.com wrote:

 On Friday 01 March 2013 18:57:47 Majid Khan wrote:
  I have recently updated my local repo for Qt Creator and its failing now,
 
  :-1: error: No rule to make target
 
 
 `../../../qt-creator/share/qtcreator/templates/wizards/bb-qt5-quick2app/bar-
  descriptor.xml', needed by
  `templates/wizards/bb-qt5-quick2app/bar-descriptor.xml'.  Stop.
 
  Is there anything that I need to do in order to build it? It was building
  alright before this update, Last update before this was yesterday.

 Re-running qmake should solve that problem. That wizard got removed
 recently.

 Regards,
 Tobias
 --
 Tobias Nätterlund | tobias.naetterl...@kdab.com | Software Engineer
 Klarälvdalens Datakonsult AB, a KDAB Group company
 Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
 KDAB - Qt Experts - Platform-independent software solutions




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Qt Creator Debug - GDB error

2013-03-01 Thread Majid Khan
I am trying to debug Qt Creator (working on #7044) but when I debug (its
new linux mint 14 Nadia Cinammon) my gdb gives error

Starting executable failed:

/home/majid/projects/qtcreator-build/bin/qtcreator.sh: not in executable
format: File format not recognised


but all other pet projects build alright in debug mode.


Can someone please help?


-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Creator Debug - GDB error

2013-03-01 Thread Majid Khan
Thanks,

ptrace: Operation not permitted.


Could not attach to the process. Make sure no other debugger traces this
process.

Check the settings of

/proc/sys/kernel/yama/ptrace_scope

For more details, see /etc/sysctl.d/10-ptrace.conf


and contents of file:

kernel.yama.ptrace_scope = 1




On Sat, Mar 2, 2013 at 1:10 AM, Poenitz Andre andre.poen...@digia.comwrote:

 Majid Khan wrote:
  I am trying to debug Qt Creator (working on #7044) but when I debug
  (its new linux mint 14 Nadia Cinammon) my gdb gives error
 
  Starting executable failed:
  /home/majid/projects/qtcreator-build/bin/qtcreator.sh: not in
 executable format: File format not recognised

 That's the wrong run configuration (the one for the wrapper script,
 not the application itself). Select 'app', not 'bin' in the Target selector
 or under Projects/Run Run configuration.

 Andre'





-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt Creator Debug - GDB error

2013-03-01 Thread Majid Khan
Great! Thanks :)


On Sat, Mar 2, 2013 at 1:34 AM, Mitch Curtis mitch.cur...@digia.com wrote:

 On 03/01/2013 03:20 PM, Majid Khan wrote:
  Thanks,
 
  ptrace: Operation not permitted.
 
 
  Could not attach to the process. Make sure no other debugger traces this
  process.
 
  Check the settings of
 
  /proc/sys/kernel/yama/ptrace_scope
 
  For more details, see /etc/sysctl.d/10-ptrace.conf
 
 
  and contents of file:
 
  kernel.yama.ptrace_scope = 1
 

 This is a known issue:
 https://bugreports.qt-project.org/browse/QTCREATORBUG-3509

 Feel free to vote for it. :)
 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Qt Creator build fails

2013-02-28 Thread Majid Khan
I have recently updated my local repo for Qt Creator and its failing now,

:-1: error: No rule to make target
`../../../qt-creator/share/qtcreator/templates/wizards/bb-qt5-quick2app/bar-descriptor.xml',
needed by `templates/wizards/bb-qt5-quick2app/bar-descriptor.xml'.  Stop.

Is there anything that I need to do in order to build it? It was building
alright before this update, Last update before this was yesterday.


-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Finding your way around Qt Creator code base

2012-11-12 Thread Majid Khan
Hi everyone,

I am working on a Qt Creator's Bug (7044) and since this is my first bug
fix for Qt Creator so I am a little confused here.

I have been looking at how things work in search [Find Usages and Rename
Symbol Under Cursor] for two days now and I have gotten a very good idea on
how is this designed. But my potential fix for the jira as per my
commenthttps://bugreports.qt-project.org/browse/QTCREATORBUG-7044?focusedCommentId=187481page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-187481
needs
a bit of experts' help and opinion.

Main reason of my this mail is that is there a better way of finding your
way through the code base. You will know what exactly am I pointing to if
you check my comment on
jirahttps://bugreports.qt-project.org/browse/QTCREATORBUG-7044?focusedCommentId=187481page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-187481.
Also, if someone with their expertise could guide me if I am going to right
direction for the fix.

Thanks

-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Finding your way around Qt Creator code base

2012-11-12 Thread Majid Khan
Thanks for that.

Yea I was sure from the start that this won't be an easy task but I love it
since it's helping me a lot to learn more and more.

Thanks again.


On Mon, Nov 12, 2012 at 9:09 PM, Ziller Eike eike.zil...@digia.com wrote:


 On 12 Nov 2012, at 10:40, Majid Khan mkhan3...@gmail.com wrote:

  Hi everyone,
 
  I am working on a Qt Creator's Bug (7044) and since this is my first bug
 fix for Qt Creator so I am a little confused here.
 
  I have been looking at how things work in search [Find Usages and
 Rename Symbol Under Cursor] for two days now and I have gotten a very good
 idea on how is this designed. But my potential fix for the jira as per my
 comment needs a bit of experts' help and opinion.
 
  Main reason of my this mail is that is there a better way of finding
 your way through the code base. You will know what exactly am I pointing to
 if you check my comment on jira. Also, if someone with their expertise
 could guide me if I am going to right direction for the fix.

 I'm adding some comments to the jira issue.
 You certainly haven't chosen an easy task.

 Br, Eike

 --
 Eike Ziller, Senior Software Engineer - Digia, Qt

 Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
 Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
 Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
 Charlottenburg, HRB 144331 B




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Pushing to gerrit

2012-11-11 Thread Majid Khan
Yup thanks I was successfully able to do this.

Cheers for that :)


On Sun, Nov 11, 2012 at 7:24 PM, Koehne Kai kai.koe...@digia.com wrote:

  Hi Khan,

 the description of your commit is missing a Change-Id: field. These can be
 added automatically by copying the 'commit-msg' hook to your local
 .git/hooks directory:

 cd qt-creator
 scp -p -P 29418 
 mkhan3...@codereview.qt-project.orghttp://mkhan3...@codereview.qt-project.org:29418/qt-creator/qt-creator:hooks/commit-msg
 .git/hooks

 Then do a git --amend so that the hook has a chance to add the Change-Id
 to your commit.

 Details about change-id:
 https://review.typo3.org/Documentation/user-changeid.html

 Regards

 Kai

  --
 *From:* 
 development-bounces+kai.koehne=digia@qt-project.org[development-bounces+kai.koehne=
 digia@qt-project.org] on behalf of Majid Khan [mkhan3...@gmail.com]
 *Sent:* 11 November 2012 08:22
 *To:* Thiago Macieira
 *Cc:* Qt Development
 *Subject:* Re: [Development] Pushing to gerrit

  Thanks Thiago,

  Ok, I am exactly trying following (after fetching and rebasing latest
 code):

 git push origin HEAD:refs/for/master

  and getting following output:

  Counting objects: 4, done.
 Delta compression using up to 4 threads.
 Compressing objects: 100% (3/3), done.
 Writing objects: 100% (3/3), 381 bytes, done.
 Total 3 (delta 1), reused 0 (delta 0)
 remote: Resolving deltas:   0% (0/1)
 remote: ERROR: missing Change-Id in commit message
 remote: Suggestion for commit message:
 remote: this is test. Please ignore this
 remote:
 remote: Change-Id: Ic0d0954fcae9e4f4cfbb97d4c1902f66e3298030
 To ssh://mkhan3...@codereview.qt-project.org:29418/qt-creator/qt-creator
  ! [remote rejected] HEAD - refs/for/master (missing Change-Id in commit
 message)
 error: failed to push some refs to 'ssh://
 mkhan3...@codereview.qt-project.org:29418/qt-creator/qt-creator'

  Is my push command invalid? If so, could you please help me with valid
 command?
 Thanks


 On Sun, Nov 11, 2012 at 6:07 PM, Thiago Macieira 
 thiago.macie...@intel.com wrote:

 On domingo, 11 de novembro de 2012 17.10.14, Majid Khan wrote:
  [core]
  repositoryformatversion = 0
  filemode = true
  bare = false
  logallrefupdates = true
  [remote origin]
  fetch = +refs/heads/*:refs/remotes/origin/*
  url = ssh://
 mkhan3...@codereview.qt-project.org:29418/qt-creator/qt-creator
  [branch master]
  remote = origin
  merge = refs/heads/master
  [branch test]
  remote = origin
  merge = refs/heads/master
 
 
   *If anyone else has any idea, please help me with this.*

 There's nothing wrong with your setup.

 You can push to origin, since that's the Gerrit repository.

 --
 Thiago Macieira - thiago.macieira (AT) intel.com
   Software Architect - Intel Open Source Technology Center

 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development




  --
 Majid Khan
 http://www.icplusplus.com




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Pushing to gerrit

2012-11-10 Thread Majid Khan
Hi All,

I have recently downloaded cloned Qt creator's repo to my newly setup dev
machine. I have done most of the parts. Finally, I was trying to push a
test file to gerrit (and was planning to abandon the change once it's
successfully sent to review).

The way we do at our work is:
git fetch  git rebase origin/master  git push origin
HEAD:refs/for/master

I am able to rebase but I was wondering two things;

where do I push to? (git push ...? )
Can I simply push to code review (
https://codereview.qt-project.org/#q,status:open,n,z) or do I need special
access to do that? I have already setup my public keys and all that by the
way.

Thanks in advance.


-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Pushing to gerrit

2012-11-10 Thread Majid Khan
Thanks Sze,

I am getting error out of it.

fatal: 'gerrit' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

I have checked my full URL path, thats correct (that I had used to clone
repo from) I am trying to push to qt-creator project.

Thanks


On Sun, Nov 11, 2012 at 3:57 PM, Sze Howe Koh szehowe@gmail.com wrote:

 After you run the init-repository script, you can do

 git fetch  git rebase origin/master  git push gerrit
 HEAD:refs/for/master


 If you want to see the full URL, see the repo config file (e.g.
 [QT5ROOT]/qtbase/.git/config)


 Regards,
 Sze-Howe

 On 11 November 2012 12:25, Majid Khan mkhan3...@gmail.com wrote:
  Hi All,
 
  I have recently downloaded cloned Qt creator's repo to my newly setup dev
  machine. I have done most of the parts. Finally, I was trying to push a
 test
  file to gerrit (and was planning to abandon the change once it's
  successfully sent to review).
 
  The way we do at our work is:
  git fetch  git rebase origin/master  git push origin
  HEAD:refs/for/master
 
  I am able to rebase but I was wondering two things;
 
  where do I push to? (git push ...? )
  Can I simply push to code review
  (https://codereview.qt-project.org/#q,status:open,n,z) or do I need
 special
  access to do that? I have already setup my public keys and all that by
 the
  way.
 
  Thanks in advance.
 
 
  --
  Majid Khan
  http://www.icplusplus.com
 
  ___
  Development mailing list
  Development@qt-project.org
  http://lists.qt-project.org/mailman/listinfo/development
 




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Pushing to gerrit

2012-11-10 Thread Majid Khan
Yup I have correct git configuration setup (i am pretty sure).

Here is exactly how my config file looks like:

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote origin]
fetch = +refs/heads/*:refs/remotes/origin/*
url = ssh://mkhan3...@codereview.qt-project.org:29418/qt-creator/qt-creator
[branch master]
remote = origin
merge = refs/heads/master
[branch test]
remote = origin
merge = refs/heads/master


*If anyone else has any idea, please help me with this.*
*
*
*Regards*


On Sun, Nov 11, 2012 at 4:56 PM, Sze Howe Koh szehowe@gmail.com wrote:

 On 11 November 2012 13:46, Sze Howe Koh szehowe@gmail.com wrote:
  On 11 November 2012 13:10, Majid Khan mkhan3...@gmail.com wrote:
  Thanks Sze,
 
  I am getting error out of it.
 
  fatal: 'gerrit' does not appear to be a git repository
  fatal: The remote end hung up unexpectedly
 
  I have checked my full URL path, thats correct (that I had used to clone
  repo from) I am trying to push to qt-creator project.
 
  Thanks
 
  You're welcome. Did you run the init-repository script, and did you
  pass it your Gerrit username? If you did, your git config file should
  have a section like this:
 
  [remote gerrit]
  url = ssh://
 yourgerritusern...@codereview.qt-project.org:29418/qt/qtbase
  fetch = +refs/heads/*:refs/remotes/gerrit/*
 
  (There are a few different places you can clone from, but you need to
  push to the qt-project.org repo)
 
  Also, make sure you've installed your git hooks.

 Wait, silly me... the init-repository script is in the main Qt 5 repo.

 I've never pushed to qt-creator before so I don't know if there are
 any shortcuts, but you can try pushing to
 ssh://
 yourgerritusern...@codereview.qt-project.org:29418/qt-creator/qt-creator

 Or better, wait for someone with the experience to reply.


 You still need to make sure you've got the git hooks installed.


 Regards,
 Sze-Howe




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Pushing to gerrit

2012-11-10 Thread Majid Khan
Thanks Thiago,

Ok, I am exactly trying following (after fetching and rebasing latest code):

git push origin HEAD:refs/for/master

and getting following output:

Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 381 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Resolving deltas:   0% (0/1)
remote: ERROR: missing Change-Id in commit message
remote: Suggestion for commit message:
remote: this is test. Please ignore this
remote:
remote: Change-Id: Ic0d0954fcae9e4f4cfbb97d4c1902f66e3298030
To ssh://mkhan3...@codereview.qt-project.org:29418/qt-creator/qt-creator
 ! [remote rejected] HEAD - refs/for/master (missing Change-Id in commit
message)
error: failed to push some refs to 'ssh://
mkhan3...@codereview.qt-project.org:29418/qt-creator/qt-creator'

Is my push command invalid? If so, could you please help me with valid
command?
Thanks


On Sun, Nov 11, 2012 at 6:07 PM, Thiago Macieira
thiago.macie...@intel.comwrote:

 On domingo, 11 de novembro de 2012 17.10.14, Majid Khan wrote:
  [core]
  repositoryformatversion = 0
  filemode = true
  bare = false
  logallrefupdates = true
  [remote origin]
  fetch = +refs/heads/*:refs/remotes/origin/*
  url = ssh://
 mkhan3...@codereview.qt-project.org:29418/qt-creator/qt-creator
  [branch master]
  remote = origin
  merge = refs/heads/master
  [branch test]
  remote = origin
  merge = refs/heads/master
 
 
  *If anyone else has any idea, please help me with this.*

 There's nothing wrong with your setup.

 You can push to origin, since that's the Gerrit repository.

 --
 Thiago Macieira - thiago.macieira (AT) intel.com
   Software Architect - Intel Open Source Technology Center

 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Issues with compiling Qt-Creator on windows

2012-11-07 Thread Majid Khan
any help on this would be greatly appreciated.

thanks

On Wed, Nov 7, 2012 at 8:15 AM, Majid Khan mkhan3...@gmail.com wrote:

 I am now using Qt creator to build qt creator and my build step currently
 look like:

 qmake.exe qtcreator.pro -r -spec win32-msvc2010
 CONFIG+=declarative_debug

 and my private files are
 in: C:\QtSDK\QtSources\4.8.1\include\QtCore\private

 Do I change my build step to


 qmake.exe qtcreator.pro -r -spec win32-msvc2010
 CONFIG+=declarative_debug -r
 QT_PRIVATE_HEADERS=/home/me/where/qt/buildtree/is/include
 ?

 also is there anything else I would need to change?


 Thanks

 On Mon, Oct 8, 2012 at 6:50 PM, Ziller Eike eike.zil...@digia.com wrote:


 On 7 Oct 2012, at 16:21, Majid Khan mkhan3...@gmail.com wrote:

  I have tried compiling Qt creator using VS2010 (qt4.8.1) but I am
 missing private/qwineventnotifier_p.h.
 
  It works alright in linux (but thats because inclusion is under
 pre-processor directive for Q_OS_WIN.  I have seen this has been issue for
 some other people too but haven't seen any fix around it.
 
  Anyone has any idea for a workaround it?

 That's a private Qt header. If you have an installed Qt / a Qt with a
 install prefix that is not the source directory, you need to point Qt
 Creator's build to where the private headers are by setting the qmake
 variable QT_PRIVATE_HEADERS, e.g.

 qmake -r QT_PRIVATE_HEADERS=/home/me/where/qt/buildtree/is/include 
 make

 Br, Eike

 --
 Eike Ziller, Senior Software Engineer - Digia, Qt

 Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
 Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
 Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
 Charlottenburg, HRB 144331 B




 --
 Majid Khan
 http://www.icplusplus.com




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Issues with compiling Qt-Creator on windows

2012-11-06 Thread Majid Khan
I am now using Qt creator to build qt creator and my build step currently
look like:

qmake.exe qtcreator.pro -r -spec win32-msvc2010 CONFIG+=declarative_debug

and my private files are in: C:\QtSDK\QtSources\4.8.1\include\QtCore\private

Do I change my build step to


qmake.exe qtcreator.pro -r -spec win32-msvc2010
CONFIG+=declarative_debug -r
QT_PRIVATE_HEADERS=/home/me/where/qt/buildtree/is/include
?

also is there anything else I would need to change?


Thanks

On Mon, Oct 8, 2012 at 6:50 PM, Ziller Eike eike.zil...@digia.com wrote:


 On 7 Oct 2012, at 16:21, Majid Khan mkhan3...@gmail.com wrote:

  I have tried compiling Qt creator using VS2010 (qt4.8.1) but I am
 missing private/qwineventnotifier_p.h.
 
  It works alright in linux (but thats because inclusion is under
 pre-processor directive for Q_OS_WIN.  I have seen this has been issue for
 some other people too but haven't seen any fix around it.
 
  Anyone has any idea for a workaround it?

 That's a private Qt header. If you have an installed Qt / a Qt with a
 install prefix that is not the source directory, you need to point Qt
 Creator's build to where the private headers are by setting the qmake
 variable QT_PRIVATE_HEADERS, e.g.

 qmake -r QT_PRIVATE_HEADERS=/home/me/where/qt/buildtree/is/include 
 make

 Br, Eike

 --
 Eike Ziller, Senior Software Engineer - Digia, Qt

 Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
 Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
 Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
 Charlottenburg, HRB 144331 B




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Issues with compiling Qt-Creator on windows

2012-10-07 Thread Majid Khan
I have tried compiling Qt creator using VS2010 (qt4.8.1) but I am missing
private/qwineventnotifier_p.h.

It works alright in linux (but thats because inclusion is under
pre-processor directive for Q_OS_WIN.  I have seen this has been issue for
some other people too but haven't seen any fix around it.

Anyone has any idea for a workaround it?

THanks

-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] delete still leaks memory

2012-10-03 Thread Majid Khan
Hi experts!

Can any body suggest me some solutions or cause of the problem?

https://github.com/mkhan3189/dotCodeFx/issues/10

It related to
https://github.com/mkhan3189/dotCodeFx/blob/master/src/helpers.h#L101

All I am trying to do is delete all the tracked classes. Please see new()
operator
https://github.com/mkhan3189/dotCodeFx/blob/master/src/dotcodefx.h#L76

Much Much Appreciated in Advance!

-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] delete still leaks memory

2012-10-03 Thread Majid Khan
Can you please suggest the best tools that Qt community use for memory leak
detections?

Greatly appreciated. Thanks

On Wed, Oct 3, 2012 at 10:19 PM, Sorvig Morten morten.sor...@digia.comwrote:


 P.S. using Windows Task manager to confirm some memory leaks is seems
 quite stupid to me ;)

 Why that's my favorite tool for detecting memory leaks of windows.. if the
 numbers keep growing you have a problem.

 Morten
 ___
 Development mailing list
 Development@qt-project.org
 http://lists.qt-project.org/mailman/listinfo/development




-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Single static list object to track something

2012-09-20 Thread Majid Khan
Hi,

I have a class that tracks strings so essentially TrackedStrings :
QStringList and this contains a list of strings that are being tracked (so
some function from some other class calls it's add(const QString string).
I need this object as static because I want to access it from anywhere
without having to define it.

Now everytime TrackedStrings.h header is used, it initializes it even
though I have used prevent guard (I checked it by having a break point on
constructer).

What is the best way to use this static TrackedStrings trackedStrings;
object in order to use it from anywhere. Remember, I don't want to
explicitly initialize it (on heap or stack).

Thanks

-- 
Majid Khan
http://www.icplusplus.com
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Jira process

2012-08-10 Thread Majid Khan
Hi everyone,

I am new to Qt contribution. I am wondering about jira process we use for
Qt contribution. I understand that everyone can create tickets but who gets
assigned to what ticket? so someone doesn't step on others' feet.

Thanks
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development